[PATCH] D123394: [CodeGen] Late cleanup of redundant address/immediate definitions.

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 00:32:07 PDT 2022


jonpa added a comment.



> Speaking only for AMDGPU, I think there are quite a few different reasons. So far I've seen:
> ...
>
> - PrologEpilogInserter calls TargetRegisterInfo::eliminateFrameIndex which materializes a frame offset into a register, too late for the resulting register-immediate moves to be commoned up.
>
> ...

Yes, this is exactly the same issue as on SystemZ. So far I cannot see any other solution for this - can you?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123394/new/

https://reviews.llvm.org/D123394



More information about the llvm-commits mailing list