[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:35:52 PDT 2025


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

Missing new pass manager handling (also should handle print/parse of the pass parameter). Also this should be done as a separate step 

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


More information about the llvm-commits mailing list