aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2022-06-10 11:55:10 -0700
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>2022-06-13 09:39:46 -0700
commit0f81830632c1496bd580aaf671c39c328a4dfca1 (patch)
tree1ff3a9a54e6e33f9713560989f9f6912b24bbc6d /clang/lib/CodeGen/ModuleBuilder.cpp
parent1c84800c42d2183a29392c175c8d5f20a4be65d2 (diff)
downloadllvm-0f81830632c1496bd580aaf671c39c328a4dfca1.zip
llvm-0f81830632c1496bd580aaf671c39c328a4dfca1.tar.gz
llvm-0f81830632c1496bd580aaf671c39c328a4dfca1.tar.bz2
[AMDGPU] Make temp vgpr selection stable in indirectCopyToAGPR
This uses rotating reminder of division by 3 to select another temp vgpr each next time in a sequence of several agpr copies. Therefore, temp vgpr selection depends on the generated agpr number. This number could change with any unrelated change to the register definitions. Stabilize the selection by using a real agpr number. Differential Revision: https://reviews.llvm.org/D127524
Diffstat (limited to 'clang/lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions