summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Hexagon
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-11-01 19:59:27 +0000
committerReid Kleckner <rnk@google.com>2018-11-01 19:59:27 +0000
commit4af6025f09aadee25c024da32d07cd4a06076770 (patch)
tree776b76b9478dd29e7686735d08dcb3cab32fb561 /llvm/lib/Target/Hexagon
parent4dc0b1ac60f947c23bbb0e20a7efb636c214b0a8 (diff)
downloadbcm5719-llvm-4af6025f09aadee25c024da32d07cd4a06076770.tar.gz
bcm5719-llvm-4af6025f09aadee25c024da32d07cd4a06076770.zip
[Hexagon] Remove unintended fallthrough from MC duplex code
I added these annotations in r345878 because I wasn't sure if the fallthrough was intended. Krzysztof Parzyszek confirmed that they should be breaks, so that's what this patch does. Reviewers: kparzysz Differential Revision: https://reviews.llvm.org/D53991 llvm-svn: 345883
Diffstat (limited to 'llvm/lib/Target/Hexagon')
-rw-r--r--llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp
index bdb15584ffc..f0654d612b4 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp
@@ -127,7 +127,7 @@ unsigned HexagonMCInstrInfo::iClassOfDuplexPair(unsigned Ga, unsigned Gb) {
case HexagonII::HSIG_A:
return 0x4;
}
- LLVM_FALLTHROUGH; // FIXME: Intentional?
+ break;
case HexagonII::HSIG_L2:
switch (Gb) {
default:
@@ -139,7 +139,7 @@ unsigned HexagonMCInstrInfo::iClassOfDuplexPair(unsigned Ga, unsigned Gb) {
case HexagonII::HSIG_A:
return 0x5;
}
- LLVM_FALLTHROUGH; // FIXME: Intentional?
+ break;
case HexagonII::HSIG_S1:
switch (Gb) {
default:
@@ -153,7 +153,7 @@ unsigned HexagonMCInstrInfo::iClassOfDuplexPair(unsigned Ga, unsigned Gb) {
case HexagonII::HSIG_A:
return 0x6;
}
- LLVM_FALLTHROUGH; // FIXME: Intentional?
+ break;
case HexagonII::HSIG_S2:
switch (Gb) {
default:
@@ -169,7 +169,7 @@ unsigned HexagonMCInstrInfo::iClassOfDuplexPair(unsigned Ga, unsigned Gb) {
case HexagonII::HSIG_A:
return 0x7;
}
- LLVM_FALLTHROUGH; // FIXME: Intentional?
+ break;
case HexagonII::HSIG_A:
switch (Gb) {
default:
@@ -177,7 +177,7 @@ unsigned HexagonMCInstrInfo::iClassOfDuplexPair(unsigned Ga, unsigned Gb) {
case HexagonII::HSIG_A:
return 0x3;
}
- LLVM_FALLTHROUGH; // FIXME: Intentional?
+ break;
case HexagonII::HSIG_Compound:
switch (Gb) {
case HexagonII::HSIG_Compound:
OpenPOWER on IntegriCloud