[llvm] [NewPM] Adds a port for AArch64ConditionalComparesPass (PR #192755)

Anshul Nigham via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 18 11:05:12 PDT 2026


================
@@ -962,3 +972,38 @@ bool AArch64ConditionalCompares::runOnMachineFunction(MachineFunction &MF) {
 
   return Changed;
 }
+
+bool AArch64ConditionalComparesLegacy::runOnMachineFunction(
+    MachineFunction &MF) {
+  if (skipFunction(MF.getFunction()))
+    return false;
+
+  auto *MBPI =
----------------
nigham wrote:

Updated to use explicit types.

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


More information about the llvm-commits mailing list