diff options
author | Saiyedul Islam <Saiyedul.Islam@amd.com> | 2024-01-23 17:08:18 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-23 17:08:18 +0530 |
commit | 082f87c9d418eb7b5a731e16b50e6649e387cb5a (patch) | |
tree | 74997043b69a23313449cba74f75890a9bfe2904 /llvm/lib/Target/AMDGPU/Utils | |
parent | f47c4067fd30ef4318f6ff4d4afafd1ef8a2e262 (diff) | |
download | llvm-082f87c9d418eb7b5a731e16b50e6649e387cb5a.zip llvm-082f87c9d418eb7b5a731e16b50e6649e387cb5a.tar.gz llvm-082f87c9d418eb7b5a731e16b50e6649e387cb5a.tar.bz2 |
[AMDGPU] Change default AMDHSA Code Object version to 5 (#79038)
Also update LIT tests and docs.
For more details, see
https://llvm.org/docs/AMDGPUUsage.html#code-object-v5-metadata
Corresponding llvm-objdump AMDGPU lit tests are updated
in a follow-up PR.
Diffstat (limited to 'llvm/lib/Target/AMDGPU/Utils')
-rw-r--r-- | llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp index f1c0544..0bf9452 100644 --- a/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp +++ b/llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp @@ -33,7 +33,7 @@ static llvm::cl::opt<unsigned> DefaultAMDHSACodeObjectVersion( "amdhsa-code-object-version", llvm::cl::Hidden, - llvm::cl::init(llvm::AMDGPU::AMDHSA_COV4), + llvm::cl::init(llvm::AMDGPU::AMDHSA_COV5), llvm::cl::desc("Set default AMDHSA Code Object Version (module flag " "or asm directive still take priority if present)")); |