This is an archive of the discontinued LLVM Phabricator instance.

Revert "[CodeGen]Allow targets to use target specific COPY instructions for live range splitting"
ClosedPublic

Authored by vitalybuka on Jul 26 2023, 4:00 PM.

Details

Summary

And dependent commits.

Details in D150388.

This reverts commit 825b7f0ca5f2211ec3c93139f98d1e24048c225c.
This reverts commit 7a98f084c4d121244ef7286bc6503b6a181d446e.
This reverts commit b4a62b1fa546312d882fa12dfdcd015177d66826.
This reverts commit b7836d856206ec39509d42529f958c920368166b.

No conflicts in the code, few tests had conflicts in autogenerated CHECKs:
llvm/test/CodeGen/Thumb2/mve-float32regloops.ll
llvm/test/CodeGen/AMDGPU/fix-frame-reg-in-custom-csr-spills.ll

Diff Detail

Event Timeline

vitalybuka created this revision.Jul 26 2023, 4:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 4:00 PM
vitalybuka requested review of this revision.Jul 26 2023, 4:00 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 26 2023, 4:00 PM
vitalybuka edited the summary of this revision. (Show Details)Jul 26 2023, 4:03 PM
vitalybuka edited the summary of this revision. (Show Details)Jul 26 2023, 4:04 PM
vitalybuka edited the summary of this revision. (Show Details)Jul 26 2023, 4:12 PM
alexfh accepted this revision.Jul 26 2023, 5:53 PM

This is the right approach to solve the problems discussed in D150388. Looking at the attempt to fix forward (https://reviews.llvm.org/D156346), I wish we insisted on a revert from the start. Looks good.

This revision is now accepted and ready to land.Jul 26 2023, 5:53 PM
yassingh added a reviewer: Restricted Project.Jul 26 2023, 10:05 PM
This revision was landed with ongoing or failed builds.Jul 26 2023, 10:13 PM
This revision was automatically updated to reflect the committed changes.