[llvm] [NFC][AArch64] Improve semantics of findSuitableCompare in ConditionOptimizer (PR #183532)

Hussam Alhassan via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 00:50:10 PST 2026


================
@@ -118,12 +118,12 @@ class AArch64ConditionOptimizer : public MachineFunctionPass {
   bool canAdjustCmp(MachineInstr &CmpMI);
   bool registersMatch(MachineInstr *FirstMI, MachineInstr *SecondMI);
   bool nzcvLivesOut(MachineBasicBlock *MBB);
-  MachineInstr *findSuitableCompare(MachineBasicBlock *MBB);
----------------
hussam-alhassan wrote:

findSuitableCompare() is replaced with findAdjustableCmp() as part of this PR

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


More information about the llvm-commits mailing list