1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/test/Transforms/InstCombine/2005-04-07-UDivSelectCrash.ll
2007-01-17 07:59:14 +00:00

8 lines
206 B
LLVM

; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine -disable-output
uint %test(bool %C, uint %tmp.15) {
%tmp.16 = select bool %C, uint 8, uint 1
%tmp.18 = div uint %tmp.15, %tmp.16
ret uint %tmp.18
}