commit | 98689c01bbfee97c6fc97c657416b4330592be80 | [log] [tgz] |
---|---|---|
author | John Brawn <john.brawn@arm.com> | Fri Dec 14 14:07:57 2018 +0000 |
committer | John Brawn <john.brawn@arm.com> | Fri Dec 14 14:07:57 2018 +0000 |
tree | d1881a4847d12ec29c3ea0780a87500fba3c015c | |
parent | 5e8ab56369160860a57b7f8d881612fbef18e2cc [diff] |
[RegAllocGreedy] IMPLICIT_DEF values shouldn't prefer registers It costs nothing to spill an IMPLICIT_DEF value (the only spill code that's generated is a KILL of the value), so when creating split constraints if the live-out value is IMPLICIT_DEF the exit constraint should be DontCare instead of PrefReg. Differential Revision: https://reviews.llvm.org/D55652 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@349151 91177308-0d34-0410-b5e6-96231b3b80d8