aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/GVN/basic.ll
blob: 6f4aace45fde86c0d236afe3aefbce3425029ca7 (plain)
1
2
3
4
5
6
7
8
9
10
; 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
}