[llvm] [RISCV] Add branch folding before branch relaxation (PR #134760)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 10 11:42:39 PDT 2025


================
@@ -90,10 +90,13 @@ namespace {
 
   /// BranchFolderPass - Wrap branch folder in a machine function pass.
 class BranchFolderLegacy : public MachineFunctionPass {
+  bool EnableTailMerge;
----------------
arsenm wrote:

That added the initial port to the new pm. This is now changing the pass arguments in the old PM, without the matching new PM change 

https://github.com/llvm/llvm-project/pull/134760


More information about the llvm-commits mailing list