MC/X86_64: Fix matching of callq.

llvm-svn: 98443
This commit is contained in:
Daniel Dunbar 2010-03-13 19:31:38 +00:00
parent 341b1d25f1
commit e60c883bf4
2 changed files with 9 additions and 0 deletions

View File

@ -24,6 +24,7 @@ def i64i32imm : Operand<i64>;
// pc relative.
def i64i32imm_pcrel : Operand<i64> {
let PrintMethod = "print_pcrel_imm";
let ParserMatchClass = X86AbsMemAsmOperand;
}

View 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