HomePhabricator

[RegisterScavenger] Remove aliasing registers of operands from the candidate set

Description

[RegisterScavenger] Remove aliasing registers of operands from the candidate set

Summary:
In addition to not including the register operand of the current
instruction also don't include any aliasing registers. We can't consider
these as candidates because using them will clobber the corresponding
register operand of the current instruction.

This change doesn't include a test case and it would probably be difficult
to produce a stable one since the bug depends on the results of register
allocation.

Reviewers: MatzeB, qcolombet, hfinkel

Subscribers: hfinkel, llvm-commits

Differential Revision: https://reviews.llvm.org/D24130

Details

Committed
sbarangaSep 6 2016, 3:10 AM
Differential Revision
D24130: [RegisterScavenger] Remove aliasing registers of operands from the candidate set
Parents
rL280697: Fix build breakage in r280692
Branches
Unknown
Tags
Unknown