blob: f228a8976695f87839d441ab329e8db11e1f2b83 [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
Jyotsna Verma18ca8102013-03-25 21:04:16 +00003; XFAIL: hexagon
Chris Lattner59f18b42008-02-21 05:27:08 +00004define void @test(i32* %X) nounwind {
5entry:
David Blaikie79e6c742015-02-27 19:29:02 +00006 %tmp1 = getelementptr i32, i32* %X, i32 10 ; <i32*> [#uses=2]
Chris Lattner59f18b42008-02-21 05:27:08 +00007 tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( i32* %tmp1, i32* %tmp1 ) nounwind
8 ret void
9}
10