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

Luke Lau via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 4 02:34:19 PDT 2026


================
@@ -1038,6 +1038,8 @@ RISCVTargetLowering::RISCVTargetLowering(const TargetMachine &TM,
       if (!isTypeLegal(VT))
         continue;
 
+      setOperationAction(ISD::VECTOR_MATCH, VT, Expand);
----------------
lukel97 wrote:

Can we just make expand the default in `initActions`

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


More information about the llvm-commits mailing list