[Openmp-commits] [openmp] [OpenMP][AMDGPU] Adapt dynamic callstack sizes to HIP behavior (PR #74080)

Jay Foad via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 1 12:06:59 PST 2023

jayfoad wrote:

> @jayfoad @b-sumner any comments on moving the duplicated code above to a header in llvm/lib/Target/AMDGPU?

No strong opinions from me. Stuff like that that needs to be shared between different parts of the backend (e.g. between codegen and the assembler/disassembler) often ends up in `lib/Target/AMDGPU/Utils/`, so maybe you could put this functionality in e.g. `lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h`?


More information about the Openmp-commits mailing list