[ShrinkWrap] Teach ShrinkWrap to handle targets requiring a register scavenger.
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 20 Nov 2015 21:54:27 +0000 (21:54 +0000)
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>
Fri, 20 Nov 2015 21:54:27 +0000 (21:54 +0000)
commit8ba4bf96a98707397f250b511abcdfebb921712e
tree0b467dca7fd5d3da62ee8c93bb17e42b8b623f76
parent15d2198650ec7a3e305281361e42b8692105cc8d
[ShrinkWrap] Teach ShrinkWrap to handle targets requiring a register scavenger.

The included test only checks for a compiler crash for now. Several people are
facing this issue, so we first resolve the crash, and will increase shrinkwrap's
coverage later in a follow-up patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253718 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ShrinkWrap.cpp
test/CodeGen/AArch64/shrink-wrap.ll [new file with mode: 0755]