blob: 7ffb734c713a8f2395bfdcae4d8c29fc20e15d70 [file] [log] [blame]
Dan Gohmanfce288f2009-09-09 00:09:15 +00001; RUN: llc < %s
Chris Lattner2bedd732008-02-21 05:27:08 +00002; PR1133
Jyotsna Vermada32db42013-03-25 21:04:16 +00003; XFAIL: hexagon
Chris Lattner2bedd732008-02-21 05:27:08 +00004define void @test(i32* %X) nounwind {
5entry:
6 %tmp1 = getelementptr i32* %X, i32 10 ; <i32*> [#uses=2]
7 tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( i32* %tmp1, i32* %tmp1 ) nounwind
8 ret void
9}
10