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

Longsheng Mou llvmlistbot at llvm.org
Thu Feb 12 06:32:39 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`.
----------------
CoTinker wrote:

I remove it.

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


More information about the Mlir-commits mailing list