This follows up D67377 that added the isHot side.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I think it is possible to templatize the implementation to share implementation with isHot... interfaces.
For each isColdNthPercentil, there is a counter part in Hot -- the pair share mostly the same code and can be templatized.
This broke check-lld on my linux bot: http://45.33.8.238/linux/11645/step_11.txt
Does that error make sense to you? Or do you think it's more likely that it's a bot problem?
The error went away after a clean build, so I think it's unrelated to this change. Sorry for the noise!
clang-format: please reformat the code