[llvm] [SPIRV] Improve vector legalization and type deduction (PR #175067)

Steven Perron via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 13 11:33:35 PST 2026


================
@@ -818,6 +915,8 @@ bool SPIRVLegalizerInfo::legalizeIntrinsic(LegalizerHelper &Helper,
     return legalizeSpvInsertElt(Helper, MI, GR);
   case Intrinsic::spv_extractelt:
     return legalizeSpvExtractElt(Helper, MI, GR);
+  case Intrinsic::spv_const_composite:
----------------
s-perron wrote:

The zeroinitializer does as well, and together they test both path in this case.

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


More information about the llvm-commits mailing list