mirror of
https://github.com/jeremysrand/llvm-65816.git
synced 2024-07-07 07:28:55 +00:00
11 lines
259 B
LLVM
11 lines
259 B
LLVM
; RUN: llc < %s
|
|
; PR1133
|
|
; XFAIL: hexagon
|
|
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
|
|
}
|
|
|