mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-20 19:42:54 +02:00
While I'm at it, don't break codegen of mul by 3,5,9.
llvm-svn: 15013
This commit is contained in:
parent
f668465840
commit
e8b9b58454
@ -2352,7 +2352,7 @@ void ISel::doMultiplyConst(MachineBasicBlock *MBB,
|
|||||||
case 5:
|
case 5:
|
||||||
case 9:
|
case 9:
|
||||||
if (Class == cInt) {
|
if (Class == cInt) {
|
||||||
addFullAddress(BuildMI(*MBB, IP, X86::LEA32r, 5, TmpReg),
|
addFullAddress(BuildMI(*MBB, IP, X86::LEA32r, 5, DestReg),
|
||||||
op0Reg, ConstRHS-1, op0Reg, 0);
|
op0Reg, ConstRHS-1, op0Reg, 0);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user