summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/IsInf.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-09-01 22:52:29 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-09-01 22:52:29 +0000
commitfae8f6a4fbdcda9f16c3b8ad70c14b58830626df (patch)
tree47c9a98e29a01877133193cfd3a02c4c12937b5e /llvm/lib/Support/IsInf.cpp
parent6a099d439ea2e5ba708b88c4c095fe736329aae8 (diff)
downloadbcm5719-llvm-fae8f6a4fbdcda9f16c3b8ad70c14b58830626df.tar.gz
bcm5719-llvm-fae8f6a4fbdcda9f16c3b8ad70c14b58830626df.zip
Be a bit more efficient when processing the active and inactive
lists. Instead of scanning the vector backwards, scan it forward and swap each element we want to erase. Then at the end erase all removed intervals at once. This doesn't save much: 0.08s out of 4s when compiling 176.gcc. llvm-svn: 16136
Diffstat (limited to 'llvm/lib/Support/IsInf.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud