summaryrefslogtreecommitdiff
path: root/tools/opt/PrintSCC.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
commited543731fb385b55750d0c514d130a810339d739 (patch)
treecbe8c69e8c7a8ab5a116bb85be5aa0d4415ac934 /tools/opt/PrintSCC.cpp
parent2e58a410896ffbee3d856b113c3718bc4a5462e8 (diff)
downloadllvm-ed543731fb385b55750d0c514d130a810339d739.tar.gz
llvm-ed543731fb385b55750d0c514d130a810339d739.tar.bz2
llvm-ed543731fb385b55750d0c514d130a810339d739.tar.xz
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16136 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/PrintSCC.cpp')
0 files changed, 0 insertions, 0 deletions