[Mlir-commits] [mlir] [mlir][Vector] Canonicalize empty `vector.mask` into `vector.select` (PR #140976)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu May 22 05:40:29 PDT 2025


================
@@ -6661,6 +6661,7 @@ LogicalResult MaskOp::verify() {
 ///
 ///   %0 = user_op %a : vector<8xf32>
 ///
+/// Empty `vector.mask` with passthru operand are handled by the canonicalizer.
----------------
banach-space wrote:

Could you document _why)?

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


More information about the Mlir-commits mailing list