[Mlir-commits] [mlir] [mlir][vector] Account for vector.mask in transfer RAW/WAW checks (PR #228328)
Federico Bruzzone
llvmlistbot at llvm.org
Sat Oct 3 00:48:05 PDT 2026
================
@@ -249,6 +253,10 @@ bool mlir::vector::checkSameValueRAW(vector::TransferWriteOp defWrite,
bool mlir::vector::checkSameValueWAW(vector::TransferWriteOp write,
vector::TransferWriteOp priorWrite) {
+ // A write under an enclosing vector.mask does not overwrite all lanes of
+ // the prior write.
+ if (write.isMasked())
----------------
FedericoBruzzone wrote:
Oh, thanks :D
It's much clearer with the reference to `@dead_region_masked_store`.
https://github.com/llvm/llvm-project/pull/228328
More information about the Mlir-commits
mailing list