diff options
author | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:42:57 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2016-05-20 00:42:57 +0000 |
commit | 0d77da4ef808c8e06b26dd3cc3595e8dcd94c14d (patch) | |
tree | fe09873f47836b889cf52de933a7884df385d6bc /llvm/lib/CodeGen/LiveIntervalUnion.cpp | |
parent | 78d947b4f59fd12f370e5ab132a36aeb5e6d3bfd (diff) | |
download | bcm5719-llvm-0d77da4ef808c8e06b26dd3cc3595e8dcd94c14d.tar.gz bcm5719-llvm-0d77da4ef808c8e06b26dd3cc3595e8dcd94c14d.zip |
[RegBankSelect] Refactor assignmentMatch to avoid testing the current
register bank twice.
Prior to this change, we were checking if the assignment for the current
machine operand was matching, then we would check if the mismatch
requires to insert repair code.
We actually already have this information from the first check, so just
pass it along.
NFCI.
llvm-svn: 270166
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalUnion.cpp')
0 files changed, 0 insertions, 0 deletions