aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-07-21 22:26:11 +0000
committerEric Christopher <echristo@apple.com>2010-07-21 22:26:11 +0000
commitab695889c67fb499bd902e8a969d0ff02ce66788 (patch)
tree08de6f74a5c870544d0d680bc1d69c6378557ccf /lib/Target/ARM/ARMISelLowering.cpp
parentd13db2c59cc94162d6cf0a04187d408bfef6d4a7 (diff)
downloadexternal_llvm-ab695889c67fb499bd902e8a969d0ff02ce66788.zip
external_llvm-ab695889c67fb499bd902e8a969d0ff02ce66788.tar.gz
external_llvm-ab695889c67fb499bd902e8a969d0ff02ce66788.tar.bz2
Baby steps towards ARM fast-isel.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109047 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 5888c1b..9e5dd02 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -694,6 +694,12 @@ TargetRegisterClass *ARMTargetLowering::getRegClassFor(EVT VT) const {
return TargetLowering::getRegClassFor(VT);
}
+// Create a fast isel object.
+FastISel *
+ARMTargetLowering::createFastISel(FunctionLoweringInfo &funcInfo) const {
+ return ARM::createFastISel(funcInfo);
+}
+
/// getFunctionAlignment - Return the Log2 alignment of this function.
unsigned ARMTargetLowering::getFunctionAlignment(const Function *F) const {
return getTargetMachine().getSubtarget<ARMSubtarget>().isThumb() ? 1 : 2;