summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-07-10-InlineAsmAConstraint.ll
blob: b1290b186da47405ac5696f61301d1b24fe9a661 (plain)
1
2
3
4
5
6
7
; RUN: llvm-as < %s | llc -march=x86
; PR825

long %test() {
	%tmp.i5 = call long asm sideeffect "rdtsc", "=A,~{dirflag},~{fpsr},~{flags}"( )		; <long> [#uses=0]
	ret long %tmp.i5
}