summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2012-05-11 19:40:25 +0000
committerChad Rosier <mcrosier@apple.com>2012-05-11 19:40:25 +0000
commit3268692aa8c8923b8892889301fcdb163806367e (patch)
tree2e6d35fc588efa04407528d60962006dd4e977b3 /llvm/lib/Target
parent83ccb6ce0883897e6ac7afbd8804162e1cbe2443 (diff)
downloadbcm5719-llvm-3268692aa8c8923b8892889301fcdb163806367e.tar.gz
bcm5719-llvm-3268692aa8c8923b8892889301fcdb163806367e.zip
[fast-isel] Remove -disable-arm-fast-isel option. -fast-isel=0 suffices. Minor cleanup.
llvm-svn: 156632
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/ARM/ARMFastISel.cpp14
1 files changed, 2 insertions, 12 deletions
diff --git a/llvm/lib/Target/ARM/ARMFastISel.cpp b/llvm/lib/Target/ARM/ARMFastISel.cpp
index 02bb5f41fea..9dff0171c3f 100644
--- a/llvm/lib/Target/ARM/ARMFastISel.cpp
+++ b/llvm/lib/Target/ARM/ARMFastISel.cpp
@@ -47,11 +47,6 @@
#include "llvm/Target/TargetOptions.h"
using namespace llvm;
-static cl::opt<bool>
-DisableARMFastISel("disable-arm-fast-isel",
- cl::desc("Turn off experimental ARM fast-isel support"),
- cl::init(false), cl::Hidden);
-
extern cl::opt<bool> EnableARMLongCalls;
namespace {
@@ -2114,11 +2109,7 @@ bool ARMFastISel::SelectRet(const Instruction *I) {
}
unsigned ARMFastISel::ARMSelectCallOp(const GlobalValue *GV) {
- if (isThumb2) {
- return ARM::tBL;
- } else {
- return ARM::BL;
- }
+ return isThumb2 ? ARM::tBL : ARM::BL;
}
// A quick function that will emit a call for a named libcall in F with the
@@ -2662,8 +2653,7 @@ namespace llvm {
// Darwin and thumb1 only for now.
const ARMSubtarget *Subtarget = &TM.getSubtarget<ARMSubtarget>();
- if (Subtarget->isTargetIOS() && !Subtarget->isThumb1Only() &&
- !DisableARMFastISel)
+ if (Subtarget->isTargetIOS() && !Subtarget->isThumb1Only())
return new ARMFastISel(funcInfo);
return 0;
}
OpenPOWER on IntegriCloud