switch from using a std::set to using a SmallPtrSet. This speeds up the
authorChris Lattner <sabre@nondot.org>
Sat, 4 Aug 2007 02:21:22 +0000 (02:21 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 4 Aug 2007 02:21:22 +0000 (02:21 +0000)
commitc3f6ea83302dfd8e1b6d77bb6c99ecacdd6bc375
treeba85a5469242af861a669c9593784c9e37735288
parentb776a335b1a3260c27555db31f7ea0bee605de04
switch from using a std::set to using a SmallPtrSet.  This speeds up the
testcase in PR1432 from 6.33s to 2.90s (2.22x)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40810 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/PromoteMemoryToRegister.cpp