Skip to content

Commit

Permalink
[EVM] Remove MachineBlockPlacement run
Browse files Browse the repository at this point in the history
Since we disabled MachineBlockPlacement in
EVMPassConfig::addPostRegAlloc, adding this
pass after that has no effect, since it won't
be run.

Signed-off-by: Vladimir Radosavljevic <vr@matterlabs.dev>
  • Loading branch information
vladimirradosavljevic committed Feb 7, 2025
1 parent 366f4ca commit c825686
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/lib/Target/EVM/EVMTargetMachine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,6 @@ void EVMPassConfig::addPreEmitPass() {
// FIXME: enable all the passes below, but the Stackify with EVMKeepRegisters.
if (!EVMKeepRegisters) {
addPass(createEVMSplitCriticalEdges());
addPass(&MachineBlockPlacementID);
addPass(createEVMOptimizeLiveIntervals());
addPass(createEVMSingleUseExpression());
if (EVMUseLocalStakify) {
Expand Down

0 comments on commit c825686

Please sign in to comment.