[PATCH] D59514: [PGO] Profile guided code size optimization.
Hiroshi Yamauchi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 11 10:37:27 PDT 2019
yamauchi marked 4 inline comments as done.
yamauchi added inline comments.
================
Comment at: lib/Transforms/Utils/SizeOpts.cpp:23
+
+bool llvm::shouldOptimizeForSize(Function *F, ProfileSummaryInfo *PSI,
+ BlockFrequencyInfo *BFI) {
----------------
eraman wrote:
> In a follow-up patch, it might be good to make this work for the non-profile case and call this whereever F->optForSize() is used.
Yes, it might be good.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59514/new/
https://reviews.llvm.org/D59514
More information about the llvm-commits
mailing list