[llvm] [BranchFolding][RISCV] Optimize branches NE/EQ to zero or one (PR #131684)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 19 09:01:25 PDT 2025


================
@@ -115,6 +115,7 @@
 ; CHECK-NEXT:       MachinePostDominator Tree Construction
 ; CHECK-NEXT:       Machine Cycle Info Analysis
 ; CHECK-NEXT:       Machine code sinking
+; CHECK-NEXT:       MachineDominator Tree Construction
----------------
topperc wrote:

I'm quite confused why its running `MachineDominator Tree` **before** the pass that now invalidates it?

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


More information about the llvm-commits mailing list