[llvm] Vector masked extract last active element intrinsic (PR #113587)

Paul Walker via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 13 07:11:37 PST 2024


================
@@ -8207,6 +8207,45 @@ void SelectionDAGBuilder::visitIntrinsicCall(const CallInst &I,
     visitVectorHistogram(I, Intrinsic);
     return;
   }
+  case Intrinsic::experimental_vector_extract_last_active: {
+    SDValue Data = getValue(I.getOperand(0));
+    SDValue Mask = getValue(I.getOperand(1));
----------------
paulwalker-arm wrote:

Perhaps worth moving this into `visitVectorExtractLastActive`?

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


More information about the llvm-commits mailing list