HomePhabricator

[RegAllocGreedy] IMPLICIT_DEF values shouldn't prefer registers

Description

[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

Details

Committed
john.brawnDec 14 2018, 6:07 AM
Differential Revision
D55652: [RegAllocGreedy] IMPLICIT_DEF values shouldn't prefer registers
Parents
rL349150: clang-include-fixer.el: support remote files
Branches
Unknown
Tags
Unknown