mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 13:06:56 +00:00
MC/X86_64: Fix matching of callq.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3a151be8d5
commit
989ac72981
@ -24,6 +24,7 @@ def i64i32imm : Operand<i64>;
|
||||
// pc relative.
|
||||
def i64i32imm_pcrel : Operand<i64> {
|
||||
let PrintMethod = "print_pcrel_imm";
|
||||
let ParserMatchClass = X86AbsMemAsmOperand;
|
||||
}
|
||||
|
||||
|
||||
|
8
test/MC/AsmParser/X86/x86_64-operands.s
Normal file
8
test/MC/AsmParser/X86/x86_64-operands.s
Normal file
@ -0,0 +1,8 @@
|
||||
// FIXME: Actually test that we get the expected results.
|
||||
|
||||
// RUN: llvm-mc -triple x86_64-unknown-unknown %s | FileCheck %s
|
||||
|
||||
# CHECK: callq a
|
||||
callq a
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user