diff options
author | Andreas Bolka <a@bolka.at> | 2009-08-05 04:03:29 +0000 |
---|---|---|
committer | Andreas Bolka <a@bolka.at> | 2009-08-05 04:03:29 +0000 |
commit | 7cf85030f4ad79e2fa29aa4b0340a6c50577afbd (patch) | |
tree | 1530f436599d9a347fd82d8bc9228bc099b23369 /test/Analysis/LoopDependenceAnalysis | |
parent | 6ade93bbdceac28f441cfdc2571929a866eb7d24 (diff) | |
download | external_llvm-7cf85030f4ad79e2fa29aa4b0340a6c50577afbd.zip external_llvm-7cf85030f4ad79e2fa29aa4b0340a6c50577afbd.tar.gz external_llvm-7cf85030f4ad79e2fa29aa4b0340a6c50577afbd.tar.bz2 |
Fix LDA testcases.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78153 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/LoopDependenceAnalysis')
-rw-r--r-- | test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll b/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll index f71260f..1e37750 100644 --- a/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll +++ b/test/Analysis/LoopDependenceAnalysis/siv-weak-crossing.ll @@ -13,8 +13,8 @@ entry: for.body: %i = phi i64 [ 0, %entry ], [ %i.next, %for.body ] %i.255 = sub i64 255, %i - %y.ld.addr = getelementptr [256 x i32]* @y, i64 0, i64 %i.255 - %x.ld.addr = getelementptr [256 x i32]* @x, i64 0, i64 %i + %y.ld.addr = getelementptr [256 x i32]* @y, i64 0, i64 %i + %x.ld.addr = getelementptr [256 x i32]* @x, i64 0, i64 %i.255 %x.st.addr = getelementptr [256 x i32]* @x, i64 0, i64 %i %x = load i32* %x.ld.addr ; 0 %y = load i32* %y.ld.addr ; 1 @@ -39,9 +39,9 @@ entry: for.body: %i = phi i64 [ 0, %entry ], [ %i.next, %for.body ] - %i.255 = sub i64 0, %i + %i.255 = sub i64 255, %i %y.ld.addr = getelementptr [256 x i32]* @y, i64 0, i64 %i - %x.ld.addr = getelementptr [256 x i32]* @x, i64 1, i64 %i.255 + %x.ld.addr = getelementptr [256 x i32]* @x, i64 0, i64 %i.255 %x.st.addr = getelementptr [256 x i32]* @x, i64 0, i64 %i %x = load i32* %x.ld.addr ; 0 %y = load i32* %y.ld.addr ; 1 |