[Mlir-commits] [mlir] [mlir][vector] Account for vector.mask in transfer RAW/WAW checks (PR #228328)
Federico Bruzzone
llvmlistbot at llvm.org
Fri Oct 2 02:13:43 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:
Maybe it's due to my lack, but could you please comment we don't need to check the `priorWrite`? :D
https://github.com/llvm/llvm-project/pull/228328
More information about the Mlir-commits
mailing list