This is part of the leftover work for https://reviews.llvm.org/D143138.
In this work, we pass code object version as an argument to initialize target ID.
Differential D143293
AMDGPU: Use module flag to get code object version at IR level folow-up cfang on Feb 3 2023, 1:54 PM. Authored by
Details This is part of the leftover work for https://reviews.llvm.org/D143138. In this work, we pass code object version as an argument to initialize target ID.
Diff Detail
Event Timeline
Comment Actions Do we still need getHsaAbiVersion() and the ELFABIVERSION_AMDGPU_HSA_* constants?
Comment Actions In term of code object version itself, I don't think these are still needed. However, ABIVersion is used in the assembler/disassembler,
Comment Actions Looks good to me, but I don't know enough about this code to approve.
|