[llvm-commits] [llvm] r67011 - /llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
Nick Lewycky
nicholas at mxc.ca
Sat Mar 14 12:40:09 PDT 2009
Author: nicholas
Date: Sat Mar 14 14:40:09 2009
New Revision: 67011
URL: http://llvm.org/viewvc/llvm-project?rev=67011&view=rev
Log:
Add a replacement for 2009-02-12-GEPNoalias.ll that works without -debug.
Added:
llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
Added: llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll?rev=67011&view=auto
==============================================================================
--- llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll (added)
+++ llvm/trunk/test/Analysis/BasicAA/2009-03-04-GEPNoalias.ll Sat Mar 14 14:40:09 2009
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | opt -aa-eval -basicaa |& grep {0 no alias}
+
+declare noalias i32* @noalias()
+
+define void @test(i32 %x) {
+ %a = call i32* @noalias()
+ %b = getelementptr i32* %a, i32 %x
+ ret void
+}
More information about the llvm-commits
mailing list