blob: 20f3dcc2971d4b1e8825efac3386d2cd319ed729 [file] [log] [blame]
Daniel Sanders753e1762014-02-13 14:44:26 +00001; RUN: llc -no-integrated-as < %s
Chris Lattner59f18b42008-02-21 05:27:08 +00002; PR1133
Chris Lattner59f18b42008-02-21 05:27:08 +00003define void @test(i32* %X) nounwind {
4entry:
David Blaikie79e6c742015-02-27 19:29:02 +00005 %tmp1 = getelementptr i32, i32* %X, i32 10 ; <i32*> [#uses=2]
Chris Lattner59f18b42008-02-21 05:27:08 +00006 tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( i32* %tmp1, i32* %tmp1 ) nounwind
7 ret void
8}
9