diff options
author | Matthias Braun <matze@braunis.de> | 2015-09-14 18:24:15 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2015-09-14 18:24:15 +0000 |
commit | 3f3934b010c1d73fb3ae997f19cea4b4f765f72b (patch) | |
tree | 6331ccdfc08737de2ea3dc6ff9af7579b988ef8e /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 0d043b52eb792752165c58ea0fc6e49d1245f5f7 (diff) | |
download | llvm-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