llvm-6502/test/CodeGen/X86/2008-10-17-Asm64bitRConstraint.ll

10 lines
226 B
LLVM
Raw Normal View History

; RUN: llvm-as < %s | llc -march=x86
; RUN: llvm-as < %s | llc -march=x86-64
define void @test(i64 %x) nounwind {
entry:
tail call void asm sideeffect "ASM: $0", "r,~{dirflag},~{fpsr},~{flags}"(i64 %x) nounwind
ret void
}