summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopFusion.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2019-12-06 05:58:59 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-06 05:59:30 -0800
commit84a6182ddd62a2ca8eee2d8470e3be1ef6147fce (patch)
treecadd92b3cd08a3f2e04b533a6f0bba78656b78e7 /mlir/lib/Transforms/LoopFusion.cpp
parent58adf99ed1a2656c8aec310e6f78da986eb05570 (diff)
downloadbcm5719-llvm-84a6182ddd62a2ca8eee2d8470e3be1ef6147fce.tar.gz
bcm5719-llvm-84a6182ddd62a2ca8eee2d8470e3be1ef6147fce.zip
minor spelling tweaks
Closes tensorflow/mlir#290 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/290 from kiszk:spelling_tweaks_201912 9d9afd16a723dd65754a04698b3976f150a6054a PiperOrigin-RevId: 284169681
Diffstat (limited to 'mlir/lib/Transforms/LoopFusion.cpp')
-rw-r--r--mlir/lib/Transforms/LoopFusion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mlir/lib/Transforms/LoopFusion.cpp b/mlir/lib/Transforms/LoopFusion.cpp
index cda35297abc..6627e73056a 100644
--- a/mlir/lib/Transforms/LoopFusion.cpp
+++ b/mlir/lib/Transforms/LoopFusion.cpp
@@ -1561,10 +1561,10 @@ public:
!canFuseSrcWhichWritesToLiveOut(srcId, dstId, srcStoreOp, mdg))
continue;
- // Dont create a private memref if 'writesToLiveInOrOut'.
+ // Don't create a private memref if 'writesToLiveInOrOut'.
bool createPrivateMemref = !writesToLiveInOrOut;
- // Dont create a private memref if 'srcNode' has in edges on 'memref',
- // or if 'dstNode' has out edges on 'memref'.
+ // Don't create a private memref if 'srcNode' has in edges on
+ // 'memref', or if 'dstNode' has out edges on 'memref'.
if (mdg->getIncomingMemRefAccesses(srcNode->id, memref) > 0 ||
mdg->getOutEdgeCount(dstNode->id, memref) > 0) {
createPrivateMemref = false;
OpenPOWER on IntegriCloud