diff options
Diffstat (limited to 'test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll')
-rw-r--r-- | test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll b/test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll index 19d251c..c2fcf32 100644 --- a/test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll +++ b/test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll @@ -10,10 +10,10 @@ define i32 @test(i32 %indvar) nounwind { %tab = alloca i32, align 4 %tmp31 = mul i32 %indvar, -2 %tmp32 = add i32 %tmp31, 30 - %t.5 = getelementptr i32* %tab, i32 %tmp32 - %loada = load i32* %tab + %t.5 = getelementptr i32, i32* %tab, i32 %tmp32 + %loada = load i32, i32* %tab store i32 0, i32* %t.5 - %loadb = load i32* %tab + %loadb = load i32, i32* %tab %rval = add i32 %loada, %loadb ret i32 %rval } |