[HotColdSplit] Remove a set which tracked split functions (NFC)
authorVedant Kumar <vsk@apple.com>
Sat, 19 Jan 2019 02:38:17 +0000 (02:38 +0000)
committerVedant Kumar <vsk@apple.com>
Sat, 19 Jan 2019 02:38:17 +0000 (02:38 +0000)
commit4de1962bb9110ab48b0cd95a5d1db17a4653a700
tree075e5086fa675de990f9a0fefb81d7a3f21dfa76
parent17d9f14bffc28d200a3ccef75b9409cd0e6bba86
[HotColdSplit] Remove a set which tracked split functions (NFC)

Use the begin/end iterator idiom to avoid visiting split functions,
instead of doing a set lookup.

llvm-svn: 351622
llvm/lib/Transforms/IPO/HotColdSplitting.cpp