summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-08-07 00:34:42 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-08-07 00:34:42 +0000
commitb972e5633fea7499cce15382fa719984d5e977fd (patch)
tree5d72414f807a74ad18175bae2aff523c64afb966 /llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
parent10af5d621cff54cd61c511dd5d6bdfc9df82f10c (diff)
downloadbcm5719-llvm-b972e5633fea7499cce15382fa719984d5e977fd.tar.gz
bcm5719-llvm-b972e5633fea7499cce15382fa719984d5e977fd.zip
It turns out most of the thumb2 instructions are not allowed to touch SP. The semantics of such instructions are unpredictable. We have just been lucky that tests have been passing.
This patch takes pain to ensure all the PEI lowering code does the right thing when lowering frame indices, insert code to manipulate stack pointers, etc. It's also custom lowering dynamic stack alloc into pseudo instructions so we can insert the right instructions at scheduling time. This fixes PR4659 and PR4682. llvm-svn: 78361
Diffstat (limited to 'llvm/lib/Transforms/Utils/PromoteMemoryToRegister.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud