aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/CodeGen/Generic/2008-02-20-MatchingMem.ll
blob: 0a21c39b2058646aca2cee0fe02bd8563ade74d4 (plain)
1
2
3
4
5
6
7
8
9
; 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
}