Displaying 2 results from an estimated 2 matches for "degrademode".
2018 Oct 01
2
OptBisect implementation for new pass manager
On 10/01/2018 08:39 PM, David Greene wrote:
> "Kaylor, Andrew" <andrew.kaylor at intel.com> writes:
>
>> What if in the registration interface we had three options: skippable,
>> not skippable, and run at OptLevel::None.
> I kind of like this idea. If necessary, the pass could even query the
> target (or some other entity) about what OptLevel::None means.
2018 Oct 01
2
OptBisect implementation for new pass manager
...ded mode" means for a pass is
> likely a decision to be made among the pass and other entities, such as
> target info.
>
> At registration time, we can encode Andy's three choices:
>
> // PassManager can not run the pass at all.
> registerPass(MyPass, PassInstrumentor::DegradeMode::Skip);
>
> // PassManager must run the pass, but it can tell the pass to
> // run in degraded mode.
> registerPass(MyOtherPass, PassInstrumentor::DegradeMode::OptNone);
>
> // PassManager must run the pass and the pass must operate as it always
> // does, even when "bisec...