1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/CodeGen/Generic/2008-02-20-MatchingMem.ll
Chris Lattner 2f3bffc338 testcase for PR1133
llvm-svn: 47427
2008-02-21 05:27:08 +00:00

10 lines
252 B
LLVM

; 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
}