diff options
author | Emma Pilkington <emma.pilkington95@gmail.com> | 2024-01-21 11:54:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 11:54:47 -0500 |
commit | bc82cfb38d83f1afeb2c290aa472c2e2e88919cb (patch) | |
tree | ed16a407ee65d46d84f77f26b62e4bd87cea3d97 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 128d53f44cae211ad5501733ec1d9bc787b6f7a9 (diff) | |
download | llvm-bc82cfb38d83f1afeb2c290aa472c2e2e88919cb.zip llvm-bc82cfb38d83f1afeb2c290aa472c2e2e88919cb.tar.gz llvm-bc82cfb38d83f1afeb2c290aa472c2e2e88919cb.tar.bz2 |
[AMDGPU] Add an asm directive to track code_object_version (#76267)
Named '.amdhsa_code_object_version'. This directive sets the
e_ident[ABIVERSION] in the ELF header, and should be used as the assumed
COV for the rest of the asm file.
This commit also weakens the --amdhsa-code-object-version CL flag.
Previously, the CL flag took precedence over the IR flag. Now the IR
flag/asm directive take precedence over the CL flag. This is implemented
by merging a few COV-checking functions in AMDGPUBaseInfo.h.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions