Skip to content

Commit

Permalink
preserve cfg was missing
Browse files Browse the repository at this point in the history
  • Loading branch information
optimisan committed Nov 15, 2024
1 parent 269e1d8 commit feedf15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/CodeGen/PeepholeOptimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1667,6 +1667,7 @@ PeepholeOptimizerPass::run(MachineFunction &MF,
auto PA = getMachineFunctionPassPreservedAnalyses();
PA.preserve<MachineDominatorTreeAnalysis>();
PA.preserve<MachineLoopAnalysis>();
PA.preserveSet<CFGAnalyses>();
return PA;
}

Expand Down

0 comments on commit feedf15

Please sign in to comment.