aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-10-03 21:26:53 +0000
committerChris Lattner <sabre@nondot.org>2005-10-03 21:26:53 +0000
commitbad09e71d063aef62deca30e90a33cb3fd25bdb5 (patch)
tree8e03d5415a03fd8f844ab35946d970067f43f8f1 /llvm/lib/Transforms/Utils/DemoteRegToStack.cpp
parent409a6b204e70d706950755f40b7d37f646687096 (diff)
downloadllvm-bad09e71d063aef62deca30e90a33cb3fd25bdb5.zip
llvm-bad09e71d063aef62deca30e90a33cb3fd25bdb5.tar.gz
llvm-bad09e71d063aef62deca30e90a33cb3fd25bdb5.tar.bz2
Use a map to cache the ModuleType information, so we can do logarithmic
lookups instead of linear time lookups. This speeds up bc parsing of a large file from 137.834u 118.256s 4:27.96 to 132.611u 114.436s 4:08.53 with a release build. llvm-svn: 23611
Diffstat (limited to 'llvm/lib/Transforms/Utils/DemoteRegToStack.cpp')
0 files changed, 0 insertions, 0 deletions