[llvm] [AArch64] Combine getActiveLaneMask with vector_extract (PR #81139)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 08:33:52 PDT 2024


================
@@ -20507,6 +20507,61 @@ static SDValue convertMergedOpToPredOp(SDNode *N, unsigned Opc,
   return SDValue();
 }
 
+static SDValue tryCombineWhileLo(SDNode *N,
+                                 TargetLowering::DAGCombinerInfo &DCI,
+                                 const AArch64Subtarget *Subtarget) {
+  if (DCI.isBeforeLegalize())
+    return SDValue();
+
+  if (!Subtarget->hasSVE2p1() && !Subtarget->hasSME2())
----------------
david-arm wrote:

Again, can you limit this to just SVE2p1 for now?

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


More information about the llvm-commits mailing list