[llvm] r225152 - [X86] Fix the immediate size to match the address size in the operand types for the move to/from absolute memory instructions.
Craig Topper
craig.topper at gmail.com
Mon Jan 5 00:18:59 PST 2015
Author: ctopper
Date: Mon Jan 5 02:18:59 2015
New Revision: 225152
URL: http://llvm.org/viewvc/llvm-project?rev=225152&view=rev
Log:
[X86] Fix the immediate size to match the address size in the operand types for the move to/from absolute memory instructions.
Modified:
llvm/trunk/lib/Target/X86/X86InstrInfo.td
Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=225152&r1=225151&r2=225152&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Mon Jan 5 02:18:59 2015
@@ -554,31 +554,31 @@ def dstidx64 : Operand<iPTR> {
let PrintMethod = "printDstIdx64"; }
def offset16_8 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs16_8AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i16imm, i8imm);
let PrintMethod = "printMemOffs8"; }
def offset16_16 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs16_16AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i16imm, i8imm);
let PrintMethod = "printMemOffs16"; }
def offset16_32 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs16_32AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i16imm, i8imm);
let PrintMethod = "printMemOffs32"; }
def offset32_8 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs32_8AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i32imm, i8imm);
let PrintMethod = "printMemOffs8"; }
def offset32_16 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs32_16AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i32imm, i8imm);
let PrintMethod = "printMemOffs16"; }
def offset32_32 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs32_32AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i32imm, i8imm);
let PrintMethod = "printMemOffs32"; }
def offset32_64 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs32_64AsmOperand;
- let MIOperandInfo = (ops i64imm, i8imm);
+ let MIOperandInfo = (ops i32imm, i8imm);
let PrintMethod = "printMemOffs64"; }
def offset64_8 : Operand<iPTR> {
let ParserMatchClass = X86MemOffs64_8AsmOperand;
More information about the llvm-commits
mailing list