aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-02-20 08:11:03 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-02-20 08:11:03 +0000
commit080ea93779028e2f67b04351c8941e008d5e359e (patch)
tree25a26d96e48df27291f284f2b5971b0b26d6d947 /llvm/unittests/Transforms/Utils/Local.cpp
parent67e556249c062bc69ce24c84cc14acc7b80d2722 (diff)
downloadllvm-080ea93779028e2f67b04351c8941e008d5e359e.zip
llvm-080ea93779028e2f67b04351c8941e008d5e359e.tar.gz
llvm-080ea93779028e2f67b04351c8941e008d5e359e.tar.bz2
Instead of keeping two Value*->id# mappings, keep one Value->Value mapping and
one Value set. This is faster because we only need to use the set when there isn't already an entry in the map. No functionality change! llvm-svn: 126076
Diffstat (limited to 'llvm/unittests/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions