diff options
Diffstat (limited to 'test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll')
-rw-r--r-- | test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll b/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll index 95e5e52..1b47341 100644 --- a/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll +++ b/test/Analysis/DependenceAnalysis/NonCanonicalizedSubscript.ll @@ -26,9 +26,9 @@ for.body: ; DELIN: da analyze - anti [=|<]! ; DELIN: da analyze - none! %i = phi i64 [ 0, %entry ], [ %i.inc, %for.body ] - %a.addr = getelementptr [100 x [100 x i32]]* %a, i64 0, i64 %i, i64 %i - %a.addr.2 = getelementptr [100 x [100 x i32]]* %a, i64 0, i64 %i, i32 5 - %0 = load i32* %a.addr, align 4 + %a.addr = getelementptr [100 x [100 x i32]], [100 x [100 x i32]]* %a, i64 0, i64 %i, i64 %i + %a.addr.2 = getelementptr [100 x [100 x i32]], [100 x [100 x i32]]* %a, i64 0, i64 %i, i32 5 + %0 = load i32, i32* %a.addr, align 4 %1 = add i32 %0, 1 store i32 %1, i32* %a.addr.2, align 4 %i.inc = add nsw i64 %i, 1 |