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 | e27d205d5d4d53cceabcd6325533fbdf9c0cee42 (patch) | |
| tree | 6f77d51524cdef8f6680c61252b6b8abaadef51e /lib/Target/ARM/ARMTargetMachine.cpp | |
| parent | f1e01dcc94fde6b1e184dc799df7145aed34a18b (diff) | |
| download | llvm-e27d205d5d4d53cceabcd6325533fbdf9c0cee42.tar.gz llvm-e27d205d5d4d53cceabcd6325533fbdf9c0cee42.tar.bz2 llvm-e27d205d5d4d53cceabcd6325533fbdf9c0cee42.tar.xz | |
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 2564ed9254..1c6fca7dec 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()) |
