mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 22:43:53 +00:00
Add selection of RegOp2MemOpTable3 to canFoldMemoryOperand
llvm-svn: 163029
This commit is contained in:
parent
6d2368c7f4
commit
4a81c1cbe0
@ -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…
x
Reference in New Issue
Block a user