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:
bc19697
)
[mlir][arith] Fix -Wunused-but-set-variable
author
Fangrui Song
<i@maskray.me>
Thu, 27 Oct 2022 23:58:22 +0000
(23:58 +0000)
committer
Fangrui Song
<i@maskray.me>
Thu, 27 Oct 2022 23:58:22 +0000
(23:58 +0000)
mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
b/mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
index
f6b4cd0
..
ba05b03
100644
(file)
--- a/
mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
+++ b/
mlir/lib/Dialect/Vector/Utils/VectorUtils.cpp
@@
-166,6
+166,7
@@
static AffineMap makePermutationMap(
countInvariantIndices == numIndices - 1) &&
"Vectorization prerequisite violated: at most 1 index may be "
"invariant wrt a vectorized loop");
+ (void)countInvariantIndices;
}
return AffineMap::get(indices.size(), 0, perm, context);
}