aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2015-09-14 18:24:15 +0000
committerMatthias Braun <matze@braunis.de>2015-09-14 18:24:15 +0000
commit3f3934b010c1d73fb3ae997f19cea4b4f765f72b (patch)
tree6331ccdfc08737de2ea3dc6ff9af7579b988ef8e /clang/lib/CodeGen/CodeGenModule.cpp
parent0d043b52eb792752165c58ea0fc6e49d1245f5f7 (diff)
downloadllvm-3f3934b010c1d73fb3ae997f19cea4b4f765f72b.zip
llvm-3f3934b010c1d73fb3ae997f19cea4b4f765f72b.tar.gz
llvm-3f3934b010c1d73fb3ae997f19cea4b4f765f72b.tar.bz2
RegisterPressure: Simplify close{Top|Bottom}()
- There are no duplicate registers in LiveRegs list we are copying from and so we do not need to sort the registers. - Simply use SmallVector::apend instead of a loop between begin() and end() with push_back(). Differential Revision: http://reviews.llvm.org/D12813 llvm-svn: 247588
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions