[PATCH] D18576: Initial implementation of optimization bisect
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 12 14:08:20 PDT 2016
joker.eph added a comment.
In http://reviews.llvm.org/D18576#399015, @MatzeB wrote:
> -bool FunctionPass::skipOptnoneFunction(const Function &F) const {
> +bool FunctionPass::skipFunction(const Function &F) const {
> + LLVMContext &C = F.getContext();
> + if (C.getOptBisect().shouldSkipPass(F))
> + return true;
I don't really get how the LLVMContext becomes involved here?
Repository:
rL LLVM
http://reviews.llvm.org/D18576
More information about the llvm-commits
mailing list