[llvm-commits] CVS: llvm/test/Regression/CodeGen/X86/loop-hoist.ll
Reid Spencer
reid at x10sys.com
Sat Dec 2 12:39:39 PST 2006
Changes in directory llvm/test/Regression/CodeGen/X86:
loop-hoist.ll updated: 1.2 -> 1.3
---
Log message:
Rearrange code so that llvm-upgrade doesn't break the optimization this
test is trying to verify.
---
Diffs of the changes: (+1 -1)
loop-hoist.ll | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/test/Regression/CodeGen/X86/loop-hoist.ll
diff -u llvm/test/Regression/CodeGen/X86/loop-hoist.ll:1.2 llvm/test/Regression/CodeGen/X86/loop-hoist.ll:1.3
--- llvm/test/Regression/CodeGen/X86/loop-hoist.ll:1.2 Fri Dec 1 22:23:08 2006
+++ llvm/test/Regression/CodeGen/X86/loop-hoist.ll Sat Dec 2 14:39:25 2006
@@ -13,7 +13,7 @@
cond_true: ; preds = %cond_true, %entry
%indvar = phi uint [ 0, %entry ], [ %indvar.next, %cond_true ] ; <uint> [#uses=3]
%i.0.0 = cast uint %indvar to int ; <int> [#uses=1]
- %tmp = getelementptr [0 x int]* %Arr, int 0, uint %indvar ; <int*> [#uses=1]
+ %tmp = getelementptr [0 x int]* %Arr, int 0, int %i.0.0
store int %i.0.0, int* %tmp
%indvar.next = add uint %indvar, 1 ; <uint> [#uses=2]
%exitcond = seteq uint %indvar.next, %N ; <bool> [#uses=1]
More information about the llvm-commits
mailing list