aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-10-26 20:01:00 +0000
committerTim Northover <tnorthover@apple.com>2016-10-26 20:01:00 +0000
commita9cc3856647a26c742d06948320781f93c3e04e3 (patch)
treefc0d9f0b27e2791cf1706419caa9c363bece797c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent275853e777a2a2f7069d7b10b61ebc80bc699d5f (diff)
downloadllvm-a9cc3856647a26c742d06948320781f93c3e04e3.zip
llvm-a9cc3856647a26c742d06948320781f93c3e04e3.tar.gz
llvm-a9cc3856647a26c742d06948320781f93c3e04e3.tar.bz2
ARM: don't rely on push/pop reglists being in order when folding SP adjust.
It would be a very nice invariant to rely on, but unfortunately it doesn't necessarily hold (and the causes of mis-sorted reglists appear to be quite varied) so to be robust the frame lowering code can't assume that the first register in the list is also the first one that actually gets pushed. Should fix an issue where we were turning something like: push {r8, r4, r7, lr} sub sp, #24 into nonsense like: push {r2, r3, r4, r5, r6, r7, r8, r4, r7, lr} llvm-svn: 285232
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions