We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc925ed commit 1956941Copy full SHA for 1956941
llvm/lib/Target/ARM/ARMBlockPlacement.cpp
@@ -218,7 +218,7 @@ bool ARMBlockPlacement::runOnMachineFunction(MachineFunction &MF) {
218
return false;
219
LLVM_DEBUG(dbgs() << DEBUG_PREFIX << "Running on " << MF.getName() << "\n");
220
MLI = &getAnalysis<MachineLoopInfoWrapperPass>().getLI();
221
- TII = static_cast<const ARMBaseInstrInfo *>(ST.getInstrInfo());
+ TII = ST.getInstrInfo();
222
BBUtils = std::make_unique<ARMBasicBlockUtils>(MF);
223
MF.RenumberBlocks();
224
BBUtils->computeAllBlockSizes();
0 commit comments