summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/VirtRegMap.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2016-05-20 00:42:57 +0000
committerQuentin Colombet <qcolombet@apple.com>2016-05-20 00:42:57 +0000
commit0d77da4ef808c8e06b26dd3cc3595e8dcd94c14d (patch)
treefe09873f47836b889cf52de933a7884df385d6bc /llvm/lib/CodeGen/VirtRegMap.cpp
parent78d947b4f59fd12f370e5ab132a36aeb5e6d3bfd (diff)
downloadbcm5719-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/VirtRegMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud