64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
10 lines
265 B
LLVM
10 lines
265 B
LLVM
; RUN: llc -no-integrated-as < %s
|
|
; PR1133
|
|
define void @test(i32* %X) nounwind {
|
|
entry:
|
|
%tmp1 = getelementptr i32, i32* %X, i32 10 ; <i32*> [#uses=2]
|
|
tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( i32* %tmp1, i32* %tmp1 ) nounwind
|
|
ret void
|
|
}
|
|
|