[llvm] MCExpr-ify amd_kernel_code_t (PR #91587)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 06:59:21 PDT 2024
================
@@ -1229,7 +1229,13 @@ void initDefaultAMDKernelCodeT(AMDGPUMCKernelCodeT &KernelCode,
KernelCode.amd_machine_version_minor = Version.Minor;
KernelCode.amd_machine_version_stepping = Version.Stepping;
KernelCode.kernel_code_entry_byte_offset = sizeof(amd_kernel_code_t);
- KernelCode.wavefront_size = 6;
+ if (Version.Major >= 10 &&
----------------
arsenm wrote:
Yes, wave32 is invalid pre-gfx10. It shouldn't have been valid to set wave32 on the wave64 only target in the first place
https://github.com/llvm/llvm-project/pull/91587
More information about the llvm-commits
mailing list