summaryrefslogtreecommitdiffstats
path: root/mlir/lib/Transforms/LoopTiling.cpp
diff options
context:
space:
mode:
authorKazuaki Ishizaki <ishizaki@jp.ibm.com>2019-12-09 09:23:15 -0800
committerA. Unique TensorFlower <gardener@tensorflow.org>2019-12-09 09:23:48 -0800
commitae05cf27c62ad7f656f9ac1bf76d5bfe6fec81b6 (patch)
tree787e4b0f9684a2dc13eda02b5f885e745ae4e4ca /mlir/lib/Transforms/LoopTiling.cpp
parent91c0074624a2ba7f3f56617da75afe70713b82b2 (diff)
downloadbcm5719-llvm-ae05cf27c62ad7f656f9ac1bf76d5bfe6fec81b6.tar.gz
bcm5719-llvm-ae05cf27c62ad7f656f9ac1bf76d5bfe6fec81b6.zip
Minor spelling tweaks
Closes tensorflow/mlir#304 PiperOrigin-RevId: 284568358
Diffstat (limited to 'mlir/lib/Transforms/LoopTiling.cpp')
-rw-r--r--mlir/lib/Transforms/LoopTiling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Transforms/LoopTiling.cpp b/mlir/lib/Transforms/LoopTiling.cpp
index 4ee7197f2df..10654783aa9 100644
--- a/mlir/lib/Transforms/LoopTiling.cpp
+++ b/mlir/lib/Transforms/LoopTiling.cpp
@@ -362,7 +362,7 @@ void LoopTiling::getTileSizes(ArrayRef<AffineForOp> band,
// one possible approach. Or compute a polynomial in tile sizes and solve for
// it.
- // For an n-d tilable band, compute n^th root of the excess.
+ // For an n-d tileable band, compute n^th root of the excess.
unsigned tSize =
static_cast<unsigned>(floorl(std::pow(excessFactor, 1.0 / band.size())));
// We'll keep a running product to determine the last tile size better.
OpenPOWER on IntegriCloud