projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
502a06f
)
Fix unused-variable error when assertions are disabled
author
scentini
<rosica@google.com>
Mon, 30 Mar 2020 11:38:40 +0000
(13:38 +0200)
committer
scentini
<rosica@google.com>
Mon, 30 Mar 2020 11:55:43 +0000
(13:55 +0200)
mlir/lib/Transforms/Utils/LoopUtils.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Transforms/Utils/LoopUtils.cpp
b/mlir/lib/Transforms/Utils/LoopUtils.cpp
index
d05a02d
..
9b02bcd
100644
(file)
--- a/
mlir/lib/Transforms/Utils/LoopUtils.cpp
+++ b/
mlir/lib/Transforms/Utils/LoopUtils.cpp
@@
-2142,6
+2142,7
@@
static AffineIfOp createSeparationCondition(MutableArrayRef<AffineForOp> loops,
// larger (and resp. smaller) than any other lower (or upper bound).
SmallVector<int64_t, 8> fullTileLb, fullTileUb;
for (auto loop : loops) {
+ (void) loop;
// TODO: Non-unit stride is not an issue to generalize to.
assert(loop.getStep() == 1 && "point loop step expected to be one");
// Mark everything symbols for the purpose of finding a constant diff pair.