xref: /aosp_15_r20/external/llvm/test/CodeGen/X86/2008-10-17-Asm64bitRConstraint.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86 -no-integrated-as
2*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s -march=x86-64 -no-integrated-as
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Workerdefine void @test(i64 %x) nounwind {
5*9880d681SAndroid Build Coastguard Workerentry:
6*9880d681SAndroid Build Coastguard Worker	tail call void asm sideeffect "ASM: $0", "r,~{dirflag},~{fpsr},~{flags}"(i64 %x) nounwind
7*9880d681SAndroid Build Coastguard Worker	ret void
8*9880d681SAndroid Build Coastguard Worker}
9*9880d681SAndroid Build Coastguard Worker
10