diff options
Diffstat (limited to 'test/Transforms/LICM/no-preheader-test.ll')
-rw-r--r-- | test/Transforms/LICM/no-preheader-test.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Transforms/LICM/no-preheader-test.ll b/test/Transforms/LICM/no-preheader-test.ll index 954857ae3b..7f4b51aef9 100644 --- a/test/Transforms/LICM/no-preheader-test.ll +++ b/test/Transforms/LICM/no-preheader-test.ll @@ -1,7 +1,7 @@ ; Test that LICM works when there is not a loop-preheader ; RUN: llvm-upgrade < %s | llvm-as | opt -licm | llvm-dis -void "testfunc"(int %i, bool %ifcond) { +void "testfunc"(int %i.s, bool %ifcond) { br bool %ifcond, label %Then, label %Else Then: br label %Loop @@ -10,7 +10,7 @@ Else: Loop: %j = phi uint [0, %Then], [12, %Else], [%Next, %Loop] - %i = cast int %i to uint + %i = cast int %i.s to uint %i2 = mul uint %i, 17 %Next = add uint %j, %i2 %cond = seteq uint %Next, 0 |