[llvm] [NFC][AArch64] Improve semantics of findSuitableCompare in ConditionOptimizer (PR #183532)
Nashe Mncube via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 3 07:17:31 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);
+ MachineInstr *getBccTerminator(MachineBasicBlock *MBB);
+ MachineInstr *findAdjustableCmp(MachineInstr *CondMI);
----------------
nasherm wrote:
https://github.com/llvm/llvm-project/pull/183568
https://github.com/llvm/llvm-project/pull/183532
More information about the llvm-commits
mailing list