[PATCH] D93067: [AMDGPU] Use multi-dword flat scratch for spilling
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 12 06:47:48 PST 2020
arsenm added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp:808
+ const bool IsAGPR = hasAGPRs(RC);
+ const unsigned RegWidth = AMDGPU::getRegBitWidth(RC->getID()) / CHAR_BIT;
+
----------------
Why use CHAR_BIT? This now technically makes this host compiler dependent
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93067/new/
https://reviews.llvm.org/D93067
More information about the llvm-commits
mailing list