llvm-6502/test/Transforms/GVN/basic.ll
2007-08-15 13:36:28 +00:00

11 lines
190 B
LLVM

; RUN: llvm-as < %s | opt -gvn | llvm-dis | not grep {%z2 =}
define i32 @main() {
block1:
%z1 = bitcast i32 0 to i32
br label %block2
block2:
%z2 = bitcast i32 0 to i32
ret i32 %z2
}