commit | 892bd2b7d4785c2cfa795aebed6ffe810120afc5 | [log] [tgz] |
---|---|---|
author | Matthias Braun <matze@braunis.de> | Fri Jul 28 01:36:32 2017 +0000 |
committer | Arnold Schwaighofer <aschwaighofer@apple.com> | Wed Aug 02 13:42:20 2017 -0700 |
tree | adbcd34a1371b68047d92bdc36415b9b4c27c1a3 | |
parent | 1508adb3d86d2854ed7a0240c3aa635a39dd5a8c [diff] |
ARMFrameLowering: Only set ExtraCSSpill for actually unused registers. The code assumed that unclobbered/unspilled callee saved registers are unused in the function. This is not true for callee saved registers that are also used to pass parameters such as swiftself. rdar://33401922 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309350 91177308-0d34-0410-b5e6-96231b3b80d8