[PATCH] D128014: [AMDGPU] Improve assembler + disassembler handling of kernel descriptors
Ronak Chauhan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 15 12:07:55 PDT 2022
rochauha added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h:100
mutable bool HasLiteral;
+ mutable Optional<bool> EnableWavefrontSize32;
----------------
MaskRay wrote:
> Can this be a plain `bool`?
I think using `Optional` is appropriate. The `.amdhsa_wavefront_size32` directive and consequently `EnableWavefrontSize32` here are specific to GFX10-11. Otherwise that bit is reserved and must be 0 for older hardware.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128014/new/
https://reviews.llvm.org/D128014
More information about the llvm-commits
mailing list