Displaying 2 results from an estimated 2 matches for "mythirdpass".
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
...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 "bisected out."
> registerPass(MyThirdPass, PassInstrumentor::DegradeMode::Default);
>
> I'm saying we don't really need DegradeMode::Default as the pass itself
> can decide to just ignore OptLevel::None and always run as it normally
> does, depending on what TargetMachine/TargetTransformInfo/whatever tell
> it to do...