[llvm-commits] [llvm] r47427 - /llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll

Chris Lattner sabre at nondot.org
Wed Feb 20 21:27:08 PST 2008


Author: lattner
Date: Wed Feb 20 23:27:08 2008
New Revision: 47427

URL: http://llvm.org/viewvc/llvm-project?rev=47427&view=rev
Log:
testcase for PR1133

Added:
    llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll

Added: llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll?rev=47427&view=auto

==============================================================================
--- llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll (added)
+++ llvm/trunk/test/CodeGen/Generic/2008-02-20-MatchingMem.ll Wed Feb 20 23:27:08 2008
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | llc
+; PR1133
+define void @test(i32* %X) nounwind  {
+entry:
+	%tmp1 = getelementptr i32* %X, i32 10		; <i32*> [#uses=2]
+	tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( i32* %tmp1, i32* %tmp1 ) nounwind 
+	ret void
+}
+





More information about the llvm-commits mailing list