aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorVang Thao <Vang.Thao@amd.com>2021-08-27 09:56:12 -0700
committerVang Thao <Vang.Thao@amd.com>2021-09-23 15:17:53 -0700
commit1443ba6163d66743ff9f9d28b0505fca159b824c (patch)
tree2e8ba378c34fa1bbf6e6bffc1df9dca1a6035d9f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent80b92db02c5aec4e92b2df1492e8268a3239de26 (diff)
downloadllvm-1443ba6163d66743ff9f9d28b0505fca159b824c.zip
llvm-1443ba6163d66743ff9f9d28b0505fca159b824c.tar.gz
llvm-1443ba6163d66743ff9f9d28b0505fca159b824c.tar.bz2
[AMDGPU] Propagate defining src reg for AGPR to AGPR Copys
On targets that do not support AGPR to AGPR copying directly, try to find the defining accvgpr_write and propagate its source vgpr register to the copies before register allocation so the source vgpr register does not get clobbered. The postrapseudos pass also attempt to propagate the defining accvgpr_write but if the register to propagate is clobbered, it will give up and create new temporary vgpr registers instead. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D108830
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions