[all-commits] [llvm/llvm-project] c4e60a: [BOLT] Fix --max-funcs=<N> option
maksfb via All-commits
all-commits at lists.llvm.org
Mon Jun 12 16:54:42 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c4e60a7f6045efc317087f964341f74a3f1b6446
https://github.com/llvm/llvm-project/commit/c4e60a7f6045efc317087f964341f74a3f1b6446
Author: Maksim Panchenko <maks at fb.com>
Date: 2023-06-12 (Mon, 12 Jun 2023)
Changed paths:
M bolt/lib/Rewrite/RewriteInstance.cpp
A bolt/test/max-funcs.test
Log Message:
-----------
[BOLT] Fix --max-funcs=<N> option
Fix off-by-one error while handling of the --max-funcs=<N> option.
We used to process N+1 functions when N was requested.
Reviewed By: Amir
Differential Revision: https://reviews.llvm.org/D152751
More information about the All-commits
mailing list