Instead of keeping two Value*->id# mappings, keep one Value->Value mapping and
authorNick Lewycky <nicholas@mxc.ca>
Sun, 20 Feb 2011 08:11:03 +0000 (08:11 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 20 Feb 2011 08:11:03 +0000 (08:11 +0000)
commiteafe863b6dc35f9ba5360685f300d16d0a5e0c3c
tree800903723ddb44bba733646978f54a54fc1f3253
parent893a882d0944ac0b7dc22aecf8c649fb4dd7d316
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!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126076 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/MergeFunctions.cpp