mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
testcase for PR1133
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47427 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
9
test/CodeGen/Generic/2008-02-20-MatchingMem.ll
Normal file
9
test/CodeGen/Generic/2008-02-20-MatchingMem.ll
Normal file
@@ -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
|
||||||
|
}
|
||||||
|
|
Reference in New Issue
Block a user