This is an archive of the discontinued LLVM Phabricator instance.

[test] Rewrite phi-empty.ll into a unittest
ClosedPublic

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

Details

Summary

phi-empty.ll does not pass under the new PM because the NPM runs
-loop-simplify. Running -loop-simplify ends up not reproing
https://llvm.org/PR48296.

Verified that this test fails when 9eb2c011 is reverted.

Diff Detail

Event Timeline

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

LGTM.
Do you recommend that we explicitly test NPM when adding test files? I was not sure if we want that or just wait for the defaults to change to avoid the back-and-forth.

This revision is now accepted and ready to land.Dec 8 2020, 8:09 AM

No need yet to specifically test both pass managers, I'd say just choose one.

This revision was landed with ongoing or failed builds.Dec 8 2020, 10:00 AM
This revision was automatically updated to reflect the committed changes.