[PowerPC] Fix LQ-STQ instructions to use correct offset and base
authorAhsan Saghir <saghir@ca.ibm.com>
Wed, 1 Jun 2022 17:12:34 +0000 (12:12 -0500)
committerAhsan Saghir <saghir@ca.ibm.com>
Thu, 16 Jun 2022 15:47:38 +0000 (10:47 -0500)
commit3d259a82da3ed5cf721452cc97404e3c26527799
tree08b2572e131759e5e5ae610cd2b2b6804967b25e
parent37fa5850f1c0b59537aa6cd7c45866ee640f928d
[PowerPC] Fix LQ-STQ instructions to use correct offset and base

This patch fixes the load and store quadword instructions on
PowerPC to use correct offset and base address.

Reviewed By: #powerpc, nemanjai, lkail

Differential Revision: https://reviews.llvm.org/D126807
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/test/CodeGen/PowerPC/LQ-STQ-32bit-offset.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/LQ-STQ.ll [new file with mode: 0644]