YouCompleteMe/cpp/llvm/test/CodeGen/Generic/2008-02-20-MatchingMem.ll

10 lines
242 B
LLVM
Raw Normal View History

2012-07-05 20:51:06 -04:00
; RUN: llc < %s
; PR1133
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
}