diff options
author | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2022-11-28 13:58:23 +0000 |
---|---|---|
committer | Pierre van Houtryve <pierre.vanhoutryve@amd.com> | 2022-11-30 12:25:10 +0000 |
commit | a88deb4b65f842138813334a77bbcecf8cfb9aaf (patch) | |
tree | 671862c7d36f4ef61960029b5d48b6225de0722a /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | f2d589ea46d8907a161f864ad506bb1bb67bfb26 (diff) | |
download | llvm-a88deb4b65f842138813334a77bbcecf8cfb9aaf.zip llvm-a88deb4b65f842138813334a77bbcecf8cfb9aaf.tar.gz llvm-a88deb4b65f842138813334a77bbcecf8cfb9aaf.tar.bz2 |
[AMDGPU] Use aperture registers instead of S_GETREG
Fixes a longstanding TODO in the codebase where we were using S_GETREG + shift to do something that could simply be done with an inline constant (register).
Patch based on D31874 by @kzhuravl
Depends on D137767
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D137542
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions