This is an archive of the discontinued LLVM Phabricator instance.

[CodeGen] Retry landing D42600 - Precommit test
AcceptedPublic

Authored by sushgokh on Mar 8 2023, 11:29 PM.

Details

Summary

D42600 couldnt land for some reasons.

This is precommit test for the patch in D42600

Diff Detail

Event Timeline

sushgokh created this revision.Mar 8 2023, 11:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 11:29 PM
sushgokh requested review of this revision.Mar 8 2023, 11:29 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 8 2023, 11:29 PM
nickdesaulniers accepted this revision.Mar 14 2023, 12:16 PM

Thanks for taking over D42600!

Please drop

D42600 couldnt land for some reasons.

from the commit message. It's irrelevant now that you've commandeered D42600.

Consider making this test into a MIR test that uses -run-only=shrink-wrap rather than testing the entire backend. You can use llc -stop-before=<passname> to dump MIR, and llc -start-before=<passname> to restart the whole backend from a given starting pass (or more simply -run-only=<passname> to test one backend pass in isolation. I strongly encourage you to change this test, but wont block landing this or D42600 on it.

Approving, but please do not commit until D42600 has been approved, and please commit them together at roughly the same time (keep them two distinct commits though).

This revision is now accepted and ready to land.Mar 14 2023, 12:16 PM

Thanks for taking over D42600!

Please drop

D42600 couldnt land for some reasons.

from the commit message. It's irrelevant now that you've commandeered D42600.

Consider making this test into a MIR test that uses -run-only=shrink-wrap rather than testing the entire backend. You can use llc -stop-before=<passname> to dump MIR, and llc -start-before=<passname> to restart the whole backend from a given starting pass (or more simply -run-only=<passname> to test one backend pass in isolation. I strongly encourage you to change this test, but wont block landing this or D42600 on it.

Approving, but please do not commit until D42600 has been approved, and please commit them together at roughly the same time (keep them two distinct commits though).

Thanks for the suggestions. I had thought of converting this to MIR but I was of perception that changes to block layout are easily identified in the assembly. But you are right in order to avoid other changes peeking in and reducing load while testing. WIll convert to MIR test.

Also, will freshly put the changes for D42600 for review and simultaneously commit both as you suggest.