[PATCH] D44464: OptBisect is improved to be overridden in LLVMContext

Fedor Sergeev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 14 14:41:05 PDT 2018


fedor.sergeev added a comment.

In https://reviews.llvm.org/D44464#1037665, @andrew.w.kaylor wrote:

> Maybe if I knew what is motivating this change it would make more sense to me.


For our custom JIT compiler pipeline we want to have a flexible control on pipeline behavior,
which might have a number of different applications. Immediate one is the ability to gracefully
shut down the compilation that takes too long.
Most likely this particular need is completely off the roster of a static compiler though.

I would like to stress that we consider OptBisect to be more than just "bisector", but rather the only
available way of skipping optimization passes with an arbitrarily complex control pattern.


https://reviews.llvm.org/D44464





More information about the llvm-commits mailing list