This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Add tests for merging LDRSWpre-LDR pairs
ClosedPublic

Authored by chaosdefinition on Jun 9 2023, 10:30 AM.

Details

Summary

This patch adds MIR test cases that test merging an LDRSWpre-LDR instruction pair into an LDPSWpre instruction. This optimization is currently missing and will be added a subsequent patch (D152407), so all test cases are no merge for now.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 10:30 AM
chaosdefinition requested review of this revision.Jun 9 2023, 10:30 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 9 2023, 10:30 AM

Add test cases of LDRSWpre + LDRWui and LDRWpre + LDRSWui, addressing @dmgreen's comment D152407#4423993.

dmgreen accepted this revision.Jul 18 2023, 12:31 AM

Looks OK to me. Thanks for splitting these out.

This revision is now accepted and ready to land.Jul 18 2023, 12:31 AM
This revision was landed with ongoing or failed builds.Jul 18 2023, 9:47 AM
This revision was automatically updated to reflect the committed changes.