aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelDAGToDAG.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2006-10-26 13:31:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2006-10-26 13:31:26 +0000
commit7ae68ab3bccb6ef2d0e4c489f0648dc5d37ae362 (patch)
treee006b77db2029f4c891dab5101b9cb342f2ef322 /lib/Target/ARM/ARMISelDAGToDAG.cpp
parent72ddc211e97aedcce0cd695bb6d7bf320b4361ac (diff)
downloadexternal_llvm-7ae68ab3bccb6ef2d0e4c489f0648dc5d37ae362.zip
external_llvm-7ae68ab3bccb6ef2d0e4c489f0648dc5d37ae362.tar.gz
external_llvm-7ae68ab3bccb6ef2d0e4c489f0648dc5d37ae362.tar.bz2
initial support for frame pointers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelDAGToDAG.cpp')
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelDAGToDAG.cpp b/lib/Target/ARM/ARMISelDAGToDAG.cpp
index b57bf59..7221818 100644
--- a/lib/Target/ARM/ARMISelDAGToDAG.cpp
+++ b/lib/Target/ARM/ARMISelDAGToDAG.cpp
@@ -91,10 +91,13 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
setOperationAction(ISD::VASTART, MVT::Other, Custom);
setOperationAction(ISD::VACOPY, MVT::Other, Expand);
setOperationAction(ISD::VAEND, MVT::Other, Expand);
+ setOperationAction(ISD::DYNAMIC_STACKALLOC, MVT::i32, Expand);
setOperationAction(ISD::ConstantFP, MVT::f64, Expand);
setOperationAction(ISD::ConstantFP, MVT::f32, Expand);
+ setStackPointerRegisterToSaveRestore(ARM::R13);
+
setSchedulingPreference(SchedulingForRegPressure);
computeRegisterProperties();
}