[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)
commitf3af4af6b5ca904c83d9846321d2618b920df2a3
tree4c3a86322a870f8799bd8151662e42869a7b80c9
parent56e2c62a8d1bc3337f022c02c3865916faa9f440
[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.

llvm-svn: 242893
llvm/lib/Analysis/IPA/GlobalsModRef.cpp