summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-06-20 18:43:14 +0000
committerMatthias Braun <matze@braunis.de>2017-06-20 18:43:14 +0000
commit7a482e230228d0056cba5e97b0714ca671aebe6c (patch)
treeb501864db27a524e5a9f205735f5de519c9dc900 /clang/lib/CodeGen/CodeGenModule.cpp
parent76858f5a1dfe7cf20226b0b9c043f3be20773370 (diff)
downloadbcm5719-llvm-7a482e230228d0056cba5e97b0714ca671aebe6c.tar.gz
bcm5719-llvm-7a482e230228d0056cba5e97b0714ca671aebe6c.zip
RegisterScavenging: Followup to r305625
This does some improvements/cleanup to the recently introduced scavengeRegisterBackwards() functionality: - Rewrite findSurvivorBackwards algorithm to use the existing LiveRegUnit::accumulateBackward() code. This also avoids the Available and Candidates bitset and just need 1 LiveRegUnit instance (= 1 bitset). - Pick registers in allocation order instead of register number order. llvm-svn: 305817
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud