[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 15:59:16 PDT 2022


lkail added a comment.

I think the root cause here is `lq/stq` is leaking x-form. There are `LQX_PSEUDO` and `STQX_PSEUDO` defined to assist accessing big offset inside the stack, but there are expanded pre-RA. I think we should expand them in `PPCAtomicExpandPass` and make `lq/stq`'s x-form mapping to `LQX_PSEUDO/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