forked from OSchip/llvm-project
Add selection of RegOp2MemOpTable3 to canFoldMemoryOperand
llvm-svn: 163029
This commit is contained in:
parent
f5cf7903d9
commit
7573c8f081
|
@ -3941,6 +3941,8 @@ bool X86InstrInfo::canFoldMemoryOperand(const MachineInstr *MI,
|
|||
OpcodeTablePtr = &RegOp2MemOpTable1;
|
||||
} else if (OpNum == 2) {
|
||||
OpcodeTablePtr = &RegOp2MemOpTable2;
|
||||
} else if (OpNum == 3) {
|
||||
OpcodeTablePtr = &RegOp2MemOpTable3;
|
||||
}
|
||||
|
||||
if (OpcodeTablePtr && OpcodeTablePtr->count(Opc))
|
||||
|
|
Loading…
Reference in New Issue