summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/2008-02-20-MatchingMem.ll
blob: ef60f92fa05aa3fd4f3da624b9a7ac05637f3593 (plain)
1
2
3
4
5
6
7
8
9
; RUN: llvm-as < %s | llc
; 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
}

OpenPOWER on IntegriCloud