GlobalISel: Remove redundant check for empty blocks

This commit is contained in:
Matt Arsenault 2020-08-09 17:28:15 -04:00
parent a0ec81f70d
commit 0bbf4bb8db
1 changed files with 0 additions and 2 deletions

View File

@ -130,8 +130,6 @@ bool Combiner::combineMachineInstrs(MachineFunction &MF,
WrapperObserver.addObserver(CSEInfo);
RAIIDelegateInstaller DelInstall(MF, &WrapperObserver);
for (MachineBasicBlock *MBB : post_order(&MF)) {
if (MBB->empty())
continue;
for (auto MII = MBB->rbegin(), MIE = MBB->rend(); MII != MIE;) {
MachineInstr *CurMI = &*MII;
++MII;