Skip to content

Commit bc6e7f0

Browse files
committed
[GlobalISel][NFC] Remove unused method CombinerHelper::tryCombine()
The combines were ported to the tablegen combiner a long time ago so this manual method isn't needed.
1 parent e471cd1 commit bc6e7f0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6171,13 +6171,3 @@ void CombinerHelper::applyCommuteBinOpOperands(MachineInstr &MI) {
61716171
MI.getOperand(2).setReg(LHSReg);
61726172
Observer.changedInstr(MI);
61736173
}
6174-
6175-
bool CombinerHelper::tryCombine(MachineInstr &MI) {
6176-
if (tryCombineCopy(MI))
6177-
return true;
6178-
if (tryCombineExtendingLoads(MI))
6179-
return true;
6180-
if (tryCombineIndexedLoadStore(MI))
6181-
return true;
6182-
return false;
6183-
}

0 commit comments

Comments
 (0)