Skip to content

Commit b91e48a

Browse files
Update mlir/lib/Dialect/Vector/IR/VectorOps.cpp
Co-authored-by: Fabian Mora <[email protected]>
1 parent 612c9ca commit b91e48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/IR/VectorOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4672,7 +4672,7 @@ struct TransferReadAfterWriteToBroadcast
46724672
if (!defWrite)
46734673
return failure();
46744674
// Bail if we need an alias analysis.
4675-
if (!readOp.hasPureTensorSemantics() || !readOp.hasPureTensorSemantics())
4675+
if (!readOp.hasPureTensorSemantics() || !defWrite.hasPureTensorSemantics())
46764676
return failure();
46774677
// Bail if we need a bounds analysis.
46784678
if (readOp.hasOutOfBoundsDim() || defWrite.hasOutOfBoundsDim())

0 commit comments

Comments
 (0)