[GMR] Switch from std::set to SmallPtrSet. NFC.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 11:47:54 +0000 (11:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 22 Jul 2015 11:47:54 +0000 (11:47 +0000)
commit6accb77bd298644bbd3c723cfee2a6859d637f95
tree6a34b99ab724ddbe2d836e37b351dcadf7990594
parent5b6ebf5b5c2fef2049897f28e9e66bba38c41923
[GMR] Switch from std::set to SmallPtrSet. NFC.

This almost certainly doesn't matter in some deep sense, but std::set is
essentially always going to be slower here. Now the alias query should
be essentially constant time instead of having to chase the set tree
each time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@242893 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/IPA/GlobalsModRef.cpp