This is an archive of the discontinued LLVM Phabricator instance.

[NewPM][SimpleLoopUnswitch] Add option to not trivially unswitch
ClosedPublic

Authored by aeubanks on Jul 13 2021, 12:53 PM.

Details

Summary

To help with debugging non-trivial unswitching issues.

Don't care about the legacy pass, nobody is using it.

If a pass's string params are empty (e.g. "simple-loop-unswitch"), don't
default to the empty constructor for the pass params. We should still
let the parser take care of it in case the parser has its own defaults.

Diff Detail

Event Timeline

aeubanks created this revision.Jul 13 2021, 12:53 PM
aeubanks requested review of this revision.Jul 13 2021, 12:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2021, 12:53 PM
asbirlea accepted this revision.Jul 13 2021, 3:36 PM

This will be useful for debugging. Thank you.

This revision is now accepted and ready to land.Jul 13 2021, 3:36 PM
This revision was landed with ongoing or failed builds.Jul 13 2021, 4:17 PM
This revision was automatically updated to reflect the committed changes.