[Mlir-commits] [mlir] [mlir][SPIR-V] Preserve poison mask in scalarized vector.shuffle lowering (PR #214686)

Arseniy Obolenskiy llvmlistbot at llvm.org
Fri Aug 21 08:51:38 PDT 2026


================
@@ -589,8 +589,12 @@ struct VectorShuffleOpConvert final
     // When at least one of the operands or the result becomes a scalar after
     // type conversion for SPIR-V, extract all the required elements and
     // construct the result vector.
-    auto getElementAtIdx = [&rewriter, loc = shuffleOp.getLoc()](
+    Type scalarType = oldV1Type.getElementType();
----------------
aobolensk wrote:

done

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


More information about the Mlir-commits mailing list