llvm.org GIT mirror llvm / 8155d6d
Back out last revision now that llvm-upgrade can remove useless bitcasts. This serves as a test of that feature. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32806 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis
11
2 void "testfunc"(int %i.s) {
2 void "testfunc"(int %i) {
33
44 br label %Loop
55
66 Loop:
77 %j = phi uint [0, %0], [%Next, %Loop]
8 %i = cast int %i.s to uint
8 %i = cast int %i to uint
99 %i2 = mul uint %i, 17
1010 %Next = add uint %j, %i2
1111 %cond = seteq uint %Next, 0