This is an archive of the discontinued LLVM Phabricator instance.

[NewPM] Add ExtraVectorizerPasses support
ClosedPublic

Authored by bjope on Jan 26 2021, 10:04 AM.

Details

Summary

As it looks like NewPM generally is using SimpleLoopUnswitch
instead of LoopUnswitch, this patch also use SimpleLoopUnswitch
in the ExtraVectorizerPasses sequence (compared with LegacyPM
which use the LoopUnswitch pass).

Diff Detail

Event Timeline

bjope created this revision.Jan 26 2021, 10:04 AM
bjope requested review of this revision.Jan 26 2021, 10:04 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 26 2021, 10:04 AM
aeubanks added inline comments.Jan 26 2021, 10:18 AM
llvm/lib/Passes/PassBuilder.cpp
1261
llvm/test/Other/opt-pipeline-vector-passes.ll
73

check for SimpleLoopUnswitch? that's the new PM replacement

bjope updated this revision to Diff 319346.Jan 26 2021, 10:36 AM

Update correct version of test case (without the FIXME).

bjope marked an inline comment as done.Jan 26 2021, 10:38 AM
bjope added inline comments.
llvm/test/Other/opt-pipeline-vector-passes.ll
73

Yes. I forgot to update the test case after adding the unswitch support downstream.

aeubanks accepted this revision.Jan 26 2021, 10:43 AM
This revision is now accepted and ready to land.Jan 26 2021, 10:43 AM
This revision was landed with ongoing or failed builds.Jan 26 2021, 1:59 PM
This revision was automatically updated to reflect the committed changes.