[PATCH] D134373: [Analysis] Introduce getLastCallToStaticBonusApplied (NFC)
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 20:29:40 PDT 2022
kazu added a comment.
Please take a look. Thanks!
- I've added "NFC" to the title.
- I've added `const` to the immutable member.
- For use, please see https://reviews.llvm.org/D134376. Look for:
bool P1ReducesCallerSize = -1000 < P1.Cost && P1.Cost < 0;
where I would like so say something like:
bool P1ReducesCallerSize = P1.Cost + IC.getLastCallToStaticBonusApplied() < 0;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134373/new/
https://reviews.llvm.org/D134373
More information about the llvm-commits
mailing list