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

Hassnaa Hamdi via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 6 16:04:31 PST 2025


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

Could you move the function to the end of the file? because it's between 2 class(AArch64InstrInfo) member functions while it's not related.

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


More information about the llvm-commits mailing list