This is an archive of the discontinued LLVM Phabricator instance.

[test] Fix scev-expander-preserve-lcssa.ll under NPM
ClosedPublic

Authored by aeubanks on Dec 7 2020, 11:00 PM.

Details

Summary

The NPM runs loop passes over loops in forward program order, rather
than the legacy loop PM's reverse program order. This seems to produce
better results as shown here.

I verified that changing the loop order to reverse program order results
in the same IR with the NPM.

Diff Detail

Event Timeline

aeubanks requested review of this revision.Dec 7 2020, 11:00 PM
aeubanks created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptDec 7 2020, 11:00 PM
fhahn accepted this revision.Dec 10 2020, 8:16 AM

LGTM, thanks. This removes legacy PM test coverage, right? But I think that should be fine in that case.

This revision is now accepted and ready to land.Dec 10 2020, 8:16 AM
This revision was landed with ongoing or failed builds.Dec 10 2020, 9:47 AM
This revision was automatically updated to reflect the committed changes.