[llvm] [AArch64] Run optimizeTerminators earlier too. (PR #170907)

David Green via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 8 00:55:46 PST 2025


================
@@ -11587,6 +11587,49 @@ AArch64InstrInfo::analyzeLoopForPipelining(MachineBasicBlock *LoopBB) const {
       Init, IsUpdatePriorComp, Cond);
 }
 
+bool llvm::optimizeTerminators(MachineBasicBlock *MBB,
----------------
davemgreen wrote:

I think this was just here because I wanted verifyInstruction to remain at the end. I've moved this up next to some of the other branch folding functions.

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


More information about the llvm-commits mailing list