[llvm] [LLVM] Make s_getpc_b64 rematerializable (PR #71823)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 9 08:46:32 PST 2023


Acim-Maravic wrote:

I found two places that can code-generate an S_GETPC_B64, one in function SIInstrInfo::insertIndirectBranch() and one in function SIInstrInfo::expandPostRAPseudo(). I think that both of these are happening after register allocation, so at that point rematerialization can not be done.


https://github.com/llvm/llvm-project/pull/71823


More information about the llvm-commits mailing list