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

Yevgeny Rouban via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 18 20:00:36 PDT 2018


yrouban added a comment.

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

> I would prefer not to overload the behavior of OptBisect. ...


Andrew, would it be ok to create an NFC extracting a pure virtual class OptPassGate from OptBisect? Then I could make use of the OptPassGate interface to implement context specific pass gates without referring to OptBisect.


https://reviews.llvm.org/D44464





More information about the llvm-commits mailing list