diff options
| author | Jim Grosbach <grosbach@apple.com> | 2009-12-02 19:30:24 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2009-12-02 19:30:24 +0000 |
| commit | 4d20ee6d9a35d9498ad170c55ba714b346237a55 (patch) | |
| tree | 6f77d51524cdef8f6680c61252b6b8abaadef51e /lib/Target/ARM/ARMTargetMachine.cpp | |
| parent | 5eb5f091ab381b612c271a1683e6e0870394d0c4 (diff) | |
| download | external_llvm-4d20ee6d9a35d9498ad170c55ba714b346237a55.zip external_llvm-4d20ee6d9a35d9498ad170c55ba714b346237a55.tar.gz external_llvm-4d20ee6d9a35d9498ad170c55ba714b346237a55.tar.bz2 | |
Factor the stack alignment calculations out into a target independent pass.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90336 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetMachine.cpp')
| -rw-r--r-- | lib/Target/ARM/ARMTargetMachine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMTargetMachine.cpp b/lib/Target/ARM/ARMTargetMachine.cpp index 2564ed9..1c6fca7 100644 --- a/lib/Target/ARM/ARMTargetMachine.cpp +++ b/lib/Target/ARM/ARMTargetMachine.cpp @@ -95,7 +95,7 @@ bool ARMBaseTargetMachine::addPreRegAlloc(PassManagerBase &PM, // Calculate and set max stack object alignment early, so we can decide // whether we will need stack realignment (and thus FP). - PM.add(createARMMaxStackAlignmentCalculatorPass()); + PM.add(createMaxStackAlignmentCalculatorPass()); // FIXME: temporarily disabling load / store optimization pass for Thumb1. if (OptLevel != CodeGenOpt::None && !Subtarget.isThumb1Only()) |
