[PATCH] D152564: [AArch64] Add tests for merging LDRSWpre-LDR pairs

Zhuojia Shen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 10:30:32 PDT 2023


chaosdefinition created this revision.
chaosdefinition added reviewers: stelios-arm, SjoerdMeijer, dmgreen, fhahn, mcrosier, junbuml, t.p.northover, MatzeB, zjaffal.
Herald added subscribers: StephenFan, kristof.beyls.
Herald added a project: All.
chaosdefinition requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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 <https://reviews.llvm.org/D152407>), so all test cases are no merge for now.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152564

Files:
  llvm/test/CodeGen/AArch64/ldrpre-ldr-merge.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152564.530008.patch
Type: text/x-patch
Size: 6155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230609/61961d77/attachment.bin>


More information about the llvm-commits mailing list