[llvm-commits] [llvm] r117128 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Evan Cheng
evan.cheng at apple.com
Fri Oct 22 11:57:05 PDT 2010
Author: evancheng
Date: Fri Oct 22 13:57:05 2010
New Revision: 117128
URL: http://llvm.org/viewvc/llvm-project?rev=117128&view=rev
Log:
Silence compiler warnings.
Modified:
llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=117128&r1=117127&r2=117128&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Fri Oct 22 13:57:05 2010
@@ -1264,8 +1264,12 @@
switch (CC) {
default:
llvm_unreachable("Unsupported calling convention");
- case CallingConv::C:
case CallingConv::Fast:
+ // Ignore fastcc. Silence compiler warnings.
+ (void)RetFastCC_ARM_APCS;
+ (void)FastCC_ARM_APCS;
+ // Fallthrough
+ case CallingConv::C:
// Use target triple & subtarget features to do actual dispatch.
if (Subtarget->isAAPCS_ABI()) {
if (Subtarget->hasVFP2() &&
More information about the llvm-commits
mailing list