Files
archived-llvm/lib/Transforms/IPO
Justin Bogner baf32fac2b [GlobalOpt] Swap the expensive check for cold calls with the cheap TTI check
isValidCandidateForColdCC is much more expensive than
TTI.useColdCCForColdCall, which by default just returns false. Avoid
doing this work if we're not going to look at the answer anyway.

This change is NFC, but I see significant compile time improvements on
some code with pathologically many functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@359253 91177308-0d34-0410-b5e6-96231b3b80d8
2019-04-26 00:12:50 +00:00
..
2018-09-07 15:03:49 +00:00
2019-04-23 14:51:27 +00:00
2019-04-23 14:51:27 +00:00