bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Generic/2008-02-20-MatchingMem.ll
2025-02-14 19:21:04 +01:00

9 lines
295 B
LLVM

; RUN: llc -no-integrated-as < %s
; PR1133
define void @test(ptr %X) nounwind {
entry:
%tmp1 = getelementptr i32, ptr %X, i32 10 ; <ptr> [#uses=2]
tail call void asm sideeffect " $0 $1 ", "=*im,*im,~{memory}"( ptr elementtype( i32) %tmp1, ptr elementtype(i32) %tmp1 ) nounwind
ret void
}