forked from OSchip/llvm-project
[X86] Derive ssmem and sdmem from X86MemOperand. NFCI
This changes the operand type from v4f32/v2f64 to iPTR which seems more correct. But that doesn't seem to do anything other than change the comments in X86GenDAGISel.inc. Probably because we use a ComplexPattern to do the matching so there's no autogenerated code to change. llvm-svn: 357959
This commit is contained in:
parent
aa10ca1268
commit
6c11a31bce
|
@ -681,18 +681,8 @@ def sse_load_f64 : ComplexPattern<v2f64, 5, "selectScalarSSELoad", [],
|
|||
[SDNPHasChain, SDNPMayLoad, SDNPMemOperand,
|
||||
SDNPWantRoot, SDNPWantParent]>;
|
||||
|
||||
def ssmem : Operand<v4f32> {
|
||||
let PrintMethod = "printdwordmem";
|
||||
let MIOperandInfo = (ops ptr_rc, i8imm, ptr_rc_nosp, i32imm, SEGMENT_REG);
|
||||
let ParserMatchClass = X86Mem32AsmOperand;
|
||||
let OperandType = "OPERAND_MEMORY";
|
||||
}
|
||||
def sdmem : Operand<v2f64> {
|
||||
let PrintMethod = "printqwordmem";
|
||||
let MIOperandInfo = (ops ptr_rc, i8imm, ptr_rc_nosp, i32imm, SEGMENT_REG);
|
||||
let ParserMatchClass = X86Mem64AsmOperand;
|
||||
let OperandType = "OPERAND_MEMORY";
|
||||
}
|
||||
def ssmem : X86MemOperand<"printdwordmem", X86Mem32AsmOperand>;
|
||||
def sdmem : X86MemOperand<"printqwordmem", X86Mem64AsmOperand>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// SSE pattern fragments
|
||||
|
|
Loading…
Reference in New Issue