diff options
author | Chris Lattner <sabre@nondot.org> | 2010-08-18 04:55:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-08-18 04:55:12 +0000 |
commit | a25c05ed15295ede112b45c36ce1b883187ac8c5 (patch) | |
tree | 331251e831b1f0038f44572318e453dd388c81f5 /llvm/test/Analysis/BasicAA/gep-alias.ll | |
parent | 8258499f424ea7abc08710d193c54e0f8a079e86 (diff) | |
download | bcm5719-llvm-a25c05ed15295ede112b45c36ce1b883187ac8c5.tar.gz bcm5719-llvm-a25c05ed15295ede112b45c36ce1b883187ac8c5.zip |
fix a buggy test
llvm-svn: 111354
Diffstat (limited to 'llvm/test/Analysis/BasicAA/gep-alias.ll')
-rw-r--r-- | llvm/test/Analysis/BasicAA/gep-alias.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/Analysis/BasicAA/gep-alias.ll b/llvm/test/Analysis/BasicAA/gep-alias.ll index 1ed03122471..f3ccb041f0e 100644 --- a/llvm/test/Analysis/BasicAA/gep-alias.ll +++ b/llvm/test/Analysis/BasicAA/gep-alias.ll @@ -115,13 +115,13 @@ define i32 @test7(i32* %p, i64 %i) { ; CHECK: ret i32 0 } -; P[zext(i)] != p[zext(i+1)] +; P[sext(i)] != p[sext(i+1)] ; PR1143 define i32 @test8(i32* %p, i32 %i) { - %i1 = zext i32 %i to i64 + %i1 = sext i32 %i to i64 %pi = getelementptr i32* %p, i64 %i1 %i.next = add i32 %i, 1 - %i.next2 = zext i32 %i.next to i64 + %i.next2 = sext i32 %i.next to i64 %pi.next = getelementptr i32* %p, i64 %i.next2 %x = load i32* %pi store i32 42, i32* %pi.next |