aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMAsmBackend.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-09 01:06:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-09 01:06:52 +0000
commita35cce1a14d8eee7e250e02b03903a5096d22c2f (patch)
treed5cc5f0114d22c6c37bb427536188e6393a3ca3d /lib/Target/ARM/ARMAsmBackend.cpp
parent0a29c270b53f15723811783c572d06b9500a7e8f (diff)
IntervalMap iterators are heavyweight, so avoid copying them around and use
references instead. Similarly, IntervalMap::begin() is almost as expensive as find(), so use find(x) instead of begin().advanceTo(x); This makes RegAllocBasic run another 5% faster. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121344 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmBackend.cpp')
0 files changed, 0 insertions, 0 deletions