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:
5b15809
)
[mlir][vector] Fix warning
author
thomasraoux
<thomasraoux@google.com>
Sat, 8 May 2021 00:10:35 +0000
(17:10 -0700)
committer
thomasraoux
<thomasraoux@google.com>
Sat, 8 May 2021 00:12:47 +0000
(17:12 -0700)
Previous change caused another warning in some build configuration:
"default label in switch which covers all enumeration values"
mlir/lib/Dialect/Vector/VectorTransforms.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/Dialect/Vector/VectorTransforms.cpp
b/mlir/lib/Dialect/Vector/VectorTransforms.cpp
index
fb97acb
..
8c03cff
100644
(file)
--- a/
mlir/lib/Dialect/Vector/VectorTransforms.cpp
+++ b/
mlir/lib/Dialect/Vector/VectorTransforms.cpp
@@
-3791,9
+3791,8
@@
struct TwoDimMultiReductionToReduction
return "or";
case vector::CombiningKind::XOR:
return "xor";
- default:
- llvm_unreachable("unknown combining kind");
}
+ llvm_unreachable("unknown combining kind");
};
for (int i = 0; i < outerDim; ++i) {