commit | ddb11e0166cda4f500b90b9d784d2b7350fdfa0a | [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 | 3a60484762b73153311a11e67232bd75b156d964 | |
parent | 835a5106db4a4a2fdee9d7880da36cdc76af468c [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