summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AArch64/AArch64FastISel.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-12-19 22:05:25 +0000
committerAdrian Prantl <aprantl@apple.com>2017-12-19 22:05:25 +0000
commit0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c (patch)
tree1f121135fb5c07575653076be40e123c9d247244 /llvm/lib/Target/AArch64/AArch64FastISel.cpp
parentf81727d138b3b216c4db06ab8b01d67de6580525 (diff)
downloadbcm5719-llvm-0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c.tar.gz
bcm5719-llvm-0e6694d111b6d3c0438f2b72fab6d10b7b4eab6c.zip
Silence a bunch of implicit fallthrough warnings
llvm-svn: 321114
Diffstat (limited to 'llvm/lib/Target/AArch64/AArch64FastISel.cpp')
-rw-r--r--llvm/lib/Target/AArch64/AArch64FastISel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64FastISel.cpp b/llvm/lib/Target/AArch64/AArch64FastISel.cpp
index fd1699fd363..022200986d2 100644
--- a/llvm/lib/Target/AArch64/AArch64FastISel.cpp
+++ b/llvm/lib/Target/AArch64/AArch64FastISel.cpp
@@ -5135,11 +5135,12 @@ bool AArch64FastISel::fastSelectInstruction(const Instruction *I) {
return selectAtomicCmpXchg(cast<AtomicCmpXchgInst>(I));
}
- // fall-back to target-independent instruction selection.
- return selectOperator(I, I->getOpcode());
// Silence warnings.
(void)&CC_AArch64_DarwinPCS_VarArg;
(void)&CC_AArch64_Win64_VarArg;
+
+ // fall-back to target-independent instruction selection.
+ return selectOperator(I, I->getOpcode());
}
namespace llvm {
OpenPOWER on IntegriCloud