diff options
author | John Brawn <john.brawn@arm.com> | 2018-12-14 14:07:57 +0000 |
---|---|---|
committer | John Brawn <john.brawn@arm.com> | 2018-12-14 14:07:57 +0000 |
commit | 1d0d86ae40fbc7b6dfc2b39098c9fe4e47e3a710 (patch) | |
tree | 1fa176dceaceaad224efd906b8e844007dadb71b /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 113e2cd958d7d1e4ea26febade4fb7eada73239f (diff) | |
download | llvm-1d0d86ae40fbc7b6dfc2b39098c9fe4e47e3a710.zip llvm-1d0d86ae40fbc7b6dfc2b39098c9fe4e47e3a710.tar.gz llvm-1d0d86ae40fbc7b6dfc2b39098c9fe4e47e3a710.tar.bz2 |
[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
llvm-svn: 349151
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions