mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-03 10:54:42 +00:00
MC/X86_64: Fix matching of leaq.
llvm-svn: 98444
This commit is contained in:
parent
de2f4ae158
commit
6d5fa0c9d6
@ -36,14 +36,14 @@ def i64i8imm : Operand<i64> {
|
||||
def lea64mem : Operand<i64> {
|
||||
let PrintMethod = "printlea64mem";
|
||||
let MIOperandInfo = (ops GR64, i8imm, GR64_NOSP, i32imm);
|
||||
let ParserMatchClass = X86MemAsmOperand;
|
||||
let ParserMatchClass = X86NoSegMemAsmOperand;
|
||||
}
|
||||
|
||||
def lea64_32mem : Operand<i32> {
|
||||
let PrintMethod = "printlea64_32mem";
|
||||
let AsmOperandLowerMethod = "lower_lea64_32mem";
|
||||
let MIOperandInfo = (ops GR32, i8imm, GR32_NOSP, i32imm);
|
||||
let ParserMatchClass = X86MemAsmOperand;
|
||||
let ParserMatchClass = X86NoSegMemAsmOperand;
|
||||
}
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
@ -5,4 +5,5 @@
|
||||
# CHECK: callq a
|
||||
callq a
|
||||
|
||||
|
||||
# CHECK: leaq -40(%rbp), %r15
|
||||
leaq -40(%rbp), %r15
|
||||
|
Loading…
x
Reference in New Issue
Block a user