[PATCH] D104551: Delay initialization of OptBisect
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 27 17:07:13 PDT 2021
kparzysz added a comment.
Yes, that's exactly what happens. The project uses LLVM as a code generator for multiple targets. The `OptBisector` object is constructed the first time it's queried by `shouldRunPass`, which happened during the code generation for the first target. We set up the second target by passing some extra flags to `ParseCommandLineOptions`, but passing `-opt-bisect-limit` at this time no longer has any effect (i.e. the setting from the construction time remains).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104551/new/
https://reviews.llvm.org/D104551
More information about the llvm-commits
mailing list