[PATCH] D118415: AMDGPU: Reserve v32 if we may need to copy between AGPRs on gfx908
Stanislav Mekhanoshin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 28 12:42:27 PST 2022
rampitec added a comment.
In D118415#3280314 <https://reviews.llvm.org/D118415#3280314>, @cdevadas wrote:
> I guess disallowing direct agpr -> agpr copy for gfx908 early from instruction selection would be a better fix. I am anyway working on a patch to avoid direct sgpr -> agpr copies. In that way, we could avoid Scavenger altogether while lowering COPY instructions.
Note though copies are created in many passes.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118415/new/
https://reviews.llvm.org/D118415
More information about the llvm-commits
mailing list