[Mlir-commits] [mlir] [mlir][linalg] Hoist masked vector transfer pairs (PR #221481)
Hugo Pompougnac
llvmlistbot at llvm.org
Thu Sep 17 05:34:05 PDT 2026
================
@@ -250,6 +267,16 @@ void mlir::linalg::hoistRedundantVectorTransfers(Operation *root,
for (auto operand : transferRead.getOperands())
if (!loop.isDefinedOutsideOfLoop(operand))
return WalkResult::advance();
+ // A masked read is hoisted as its `vector.mask` op; its mask and passthru
----------------
qaco wrote:
Yes, exactly, the xfer_read is hoisted together with the vector.mask that wraps it. Reworded to make that explicit and dropped the odd "its vector.mask" phrasing.
https://github.com/llvm/llvm-project/pull/221481
More information about the Mlir-commits
mailing list