aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorEmma Pilkington <emma.pilkington95@gmail.com>2024-01-21 11:54:47 -0500
committerGitHub <noreply@github.com>2024-01-21 11:54:47 -0500
commitbc82cfb38d83f1afeb2c290aa472c2e2e88919cb (patch)
treeed16a407ee65d46d84f77f26b62e4bd87cea3d97 /clang/lib/Frontend/CompilerInvocation.cpp
parent128d53f44cae211ad5501733ec1d9bc787b6f7a9 (diff)
downloadllvm-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