[Mlir-commits] [mlir] [mlir][vector] Fix fold result for empty vector.mask with no results (PR #180345)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Feb 11 08:58:53 PST 2026


================
@@ -7614,7 +7614,7 @@ static LogicalResult foldEmptyMaskOp(MaskOp maskOp, MaskOp::FoldAdaptor adaptor,
   auto terminator = cast<vector::YieldOp>(block->front());
   if (terminator.getNumOperands() == 0) {
     // `vector.mask` has no results, just remove the `vector.mask`.
----------------
banach-space wrote:

This comment should be updated as well.

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


More information about the Mlir-commits mailing list