summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2017-07-07 13:03:28 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2017-07-07 13:03:28 +0000
commit8b4dc533263b124296a8b80c080a23f682de73a7 (patch)
treea5eb5f7e771b501c82951229dc287abb08c36ffb /llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
parentcace053fb57e5e4f7053be9560c5cb1d91af37b2 (diff)
downloadbcm5719-llvm-8b4dc533263b124296a8b80c080a23f682de73a7.tar.gz
bcm5719-llvm-8b4dc533263b124296a8b80c080a23f682de73a7.zip
[AArch64] Fix -Wimplicit-fallthrough warnings. NFCI.
llvm-svn: 307393
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp b/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
index f3c8e7e9bdc..4e65c0ab601 100644
--- a/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
+++ b/llvm/lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
@@ -163,6 +163,7 @@ AArch64RedundantCopyElimination::knownRegValInBlock(
case AArch64::ADDSWri:
case AArch64::ADDSXri:
IsCMN = true;
+ LLVM_FALLTHROUGH;
// CMP is an alias for SUBS with a dead destination register.
case AArch64::SUBSWri:
case AArch64::SUBSXri: {
OpenPOWER on IntegriCloud