summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGAtomic.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-05-24 15:40:46 +0000
committerRui Ueyama <ruiu@google.com>2016-05-24 15:40:46 +0000
commit19ccffe4bcb90ae95ca8ecb502efa0fc662d4af3 (patch)
treed27bc24608637c0891dbc5fc95f3dddcb368ae8b /clang/lib/CodeGen/CGAtomic.cpp
parent0a28e680f785539a2954018846e6fc4d315e576f (diff)
downloadbcm5719-llvm-19ccffe4bcb90ae95ca8ecb502efa0fc662d4af3.tar.gz
bcm5719-llvm-19ccffe4bcb90ae95ca8ecb502efa0fc662d4af3.zip
Do not start over relocation search from beginning.
This patch addresses a post-commit review for r270325. r270325 introduced getReloc function that searches a relocation for a given range. It always started searching from beginning of relocation vector, so it was slower than before. Previously, we used to use the fact that the relocations are sorted. This patch restore it. llvm-svn: 270572
Diffstat (limited to 'clang/lib/CodeGen/CGAtomic.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud