llvm.org GIT mirror llvm / release_26 test / Transforms / GVN / basic.ll
release_26

Tree @release_26 (Download .tar.gz)

basic.ll @release_26raw · history · blame

; 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
}