[llvm] [SDAG] Add basic type legalization for experimental.vector.match (PR #213344)

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 03:22:16 PDT 2026


================
@@ -1627,6 +1627,13 @@ enum NodeType {
   /// bits conform to getBooleanContents similar to the SETCC operator.
   GET_ACTIVE_LANE_MASK,
 
+  /// VECTOR_MATCH - this corresponds to the llvm.experimental.vector.match
+  /// intrinsic.
+  /// Operands: Source, Needle, Mask
+  /// Source has the same number of elements as the result and Needle may have
+  /// a different number of elements. The result type matches Mask.
----------------
RKSimon wrote:

Please can you mention if the mask/result must match getBooleanContents in the higher bits?

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


More information about the llvm-commits mailing list