[PATCH] D103348: [AMDGPU] Add maximum NSA size limit ISA feature
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 4 04:22:37 PDT 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp:1695
+ Register Addr = SrcOp.getReg();
+ int Dwords = (MRI->getType(Addr).getSizeInBits() + 31) / 32;
+ if (Dwords == NumVAddrDwords) {
----------------
`divideCeil(..., 32)`
================
Comment at: llvm/lib/Target/AMDGPU/GCNSubtarget.h:139
bool HasNSAEncoding;
+ int NSAMaxSize;
bool GFX10_BEncoding;
----------------
Is there a reason this can't be unsigned?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D103348/new/
https://reviews.llvm.org/D103348
More information about the llvm-commits
mailing list