YouCompleteMe/cpp/llvm/test/Transforms/GVN/basic.ll
2012-07-05 17:51:06 -07:00

11 lines
172 B
LLVM

; RUN: opt < %s -gvn -S | 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
}