[llvm-commits] [llvm] r111354 - /llvm/trunk/test/Analysis/BasicAA/gep-alias.ll
Chris Lattner
sabre at nondot.org
Tue Aug 17 21:55:12 PDT 2010
Author: lattner
Date: Tue Aug 17 23:55:12 2010
New Revision: 111354
URL: http://llvm.org/viewvc/llvm-project?rev=111354&view=rev
Log:
fix a buggy test
Modified:
llvm/trunk/test/Analysis/BasicAA/gep-alias.ll
Modified: llvm/trunk/test/Analysis/BasicAA/gep-alias.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/BasicAA/gep-alias.ll?rev=111354&r1=111353&r2=111354&view=diff
==============================================================================
--- llvm/trunk/test/Analysis/BasicAA/gep-alias.ll (original)
+++ llvm/trunk/test/Analysis/BasicAA/gep-alias.ll Tue Aug 17 23:55:12 2010
@@ -115,13 +115,13 @@
; 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
More information about the llvm-commits
mailing list