[llvm] [AArch64][GlobalISel] Combine MUL(AND(LSHR(X, 15), 0x10001), 0xffff) to CMLTz (PR #92915)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue May 21 08:36:52 PDT 2024


================
@@ -381,6 +381,60 @@ void applyOrToBSP(MachineInstr &MI, MachineRegisterInfo &MRI,
   MI.eraseFromParent();
 }
 
+bool matchCombineMulCMLT(MachineInstr &MI, MachineRegisterInfo &MRI,
----------------
davemgreen wrote:

Add a comment, similar to the pattern.

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


More information about the llvm-commits mailing list