aboutsummaryrefslogtreecommitdiff
path: root/test/Transforms/GVNPRE/2007-07-03-PhiTranslateGEP.ll
blob: 2f50bef8a09e9184e875909853e2b103b62ed9ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: opt %s -gvnpre | llvm-dis

define i64 @foo({ i32, i32 }** %__v) {
entry:
	br label %bb

bb:		; preds = %bb, %entry
	%__x.066.0 = phi { i32, i32 }* [ null, %entry ], [ null, %bb ]
	%tmp2.i.i63 = getelementptr { i32, i32 }* %__x.066.0, i32 0, i32 1
	br i1 false, label %bb, label %cond_true

cond_true:		; preds = %bb
	ret i64 0
}