forked from OSchip/llvm-project
parent
438aba6fdd
commit
6652403c2d
|
@ -195,7 +195,7 @@ bool SIShrinkInstructions::runOnMachineFunction(MachineFunction &MF) {
|
|||
continue;
|
||||
|
||||
if (!canShrink(MI, TII, TRI, MRI)) {
|
||||
// Try commtuing the instruction and see if that enables us to shrink
|
||||
// Try commuting the instruction and see if that enables us to shrink
|
||||
// it.
|
||||
if (!MI.isCommutable() || !TII->commuteInstruction(&MI) ||
|
||||
!canShrink(MI, TII, TRI, MRI))
|
||||
|
|
Loading…
Reference in New Issue