This is an archive of the discontinued LLVM Phabricator instance.

[LegacyPM] Remove LowerWidenableConditionLegacyPass
Needs ReviewPublic

Authored by kazu on Jun 23 2023, 6:43 PM.

Details

Diff Detail

Event Timeline

kazu created this revision.Jun 23 2023, 6:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2023, 6:43 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
kazu requested review of this revision.Jun 23 2023, 6:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 23 2023, 6:43 PM

This sounds like a backend pass for out-of-tree usage, so we might have to keep the legacy version.

anna added a comment.Jun 27 2023, 7:03 AM

This sounds like a backend pass for out-of-tree usage, so we might have to keep the legacy version

In our custom pipeline downstream, we enable this pass late in our opt pipeline So, this change wouldn't affect us. However, in the LangRef, we state it can be lowered pretty late - which means someone (any other downstream users, if any?) can lower it under TargetPassConfig::addIRPasses for example.