[llvm-dev] OptBisect implementation for new pass manager

Friedman, Eli via llvm-dev
Wed, 26 Sep 2018 17:54:36 -0000

On 9/26/2018 10:47 AM, Philip Pfaffe via llvm-dev wrote:
> Hi Fedor,
>
> can you make an example where a pass actually needs to opt-out?
> Because IMO, bisect should quite literally to DebugCounter-style skip
> every step in every ::run method's loop. Passes should not even be
> concerned with this.

This isn't so much an issue for the optimization pipeline, but code
generation involves some passes which are mandatory (e.g. isel).

-Eli

--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux
Foundation Collaborative Project