[AArch64] Add tests for merging LDRSWpre-LDR pairs
authorZhuojia Shen <chaosdefinition@hotmail.com>
Fri, 23 Jun 2023 19:44:42 +0000 (12:44 -0700)
committerZhuojia Shen <chaosdefinition@hotmail.com>
Tue, 18 Jul 2023 16:46:46 +0000 (09:46 -0700)
commit94f76004d53d4c5fe98d9e5d0dc8292cc04218fa
tree83943b409688416175cfebb7b3c07d18d0880368
parent17508cbcc628ad45012660362bd1ace81da85f3b
[AArch64] Add tests for merging LDRSWpre-LDR pairs

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.

Differential Revision: https://reviews.llvm.org/D152564
llvm/test/CodeGen/AArch64/ldrpre-ldr-merge.mir