[PATCH] D126807: [PowerPC] Fix LQ-STQ instructions to use correct offset and base
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 1 18:35:31 PDT 2022
lkail added a comment.
> That would be expanded in PPCInstrInfo::expandPostRAPseudo()
Looks also viable as long as we do it after prologepilog.
Note that we might need an additional register in `outs` to keep the result of the sum of two registers in `memrr`.
// handle x-form during isel.
def LQX_PSEUDO : PPCPostRAExpPseudo<(outs g8prc:$RTp, g8rc:$scratch),
(ins memrr:$src), "#LQX_PSEUDO", []>;
def STQX_PSEUDO : PPCPostRAExpPseudo<(outs g8rc:$scratch),
(ins g8prc:$RSp, memrr:$dst),
"#STQX_PSEUDO", []>;
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126807/new/
https://reviews.llvm.org/D126807
More information about the llvm-commits
mailing list