projects
/
llvm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c37aa1
)
Mark intentional fall-through with LLVM_FALLTHROUGH.
author
Kristof Beyls
<kristof.beyls@arm.com>
Tue, 7 Nov 2017 13:31:52 +0000
(13:31 +0000)
committer
Kristof Beyls
<kristof.beyls@arm.com>
Tue, 7 Nov 2017 13:31:52 +0000
(13:31 +0000)
... to silence gcc 7's default -Wimplicit-fallthrough.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317573
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
b/lib/CodeGen/GlobalISel/LegalizerInfo.cpp
index caf6600ac0dedf594a6d6ff120e7b446235533e4..074cfa61a29ac397ef14ed97b45b81b5705f8ea4 100644
(file)
--- a/
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
+++ b/
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
@@
-279,6
+279,7
@@
LegalizerInfo::findAction(const SizeAndActionsVec &Vec, const uint32_t Size) {
// Special case for scalarization:
if (Vec == SizeAndActionsVec({{1, FewerElements}}))
return {1, FewerElements};
+ LLVM_FALLTHROUGH;
case NarrowScalar: {
// The following needs to be a loop, as for now, we do allow needing to
// go over "Unsupported" bit sizes before finding a legalizable bit size.