diff options
author | Juan Manuel Martinez CaamaƱo <jmartinezcaamao@gmail.com> | 2025-10-14 09:04:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-14 09:04:13 +0200 |
commit | 782dd178fcb3b146dd16792b54c867095b863ccc (patch) | |
tree | a80dfa76411b6440b9931953b3c75b2dcff59d79 /clang/lib/InstallAPI/HeaderFile.cpp | |
parent | e9e9ba4a694b778038bbda0120fca075e9b6bd1e (diff) | |
download | llvm-782dd178fcb3b146dd16792b54c867095b863ccc.zip llvm-782dd178fcb3b146dd16792b54c867095b863ccc.tar.gz llvm-782dd178fcb3b146dd16792b54c867095b863ccc.tar.bz2 |
[SPIRV] Do not emit @llvm.compiler.used (#162678)
`@llvm.compiler.used` holds a series of global values and prevents the compiler from optimizing them out.
However, the symbols in the variable can be optimized after compilation
as usual by a linker (notice that `@llvm.used` instead doesn't allow for
the linker to optimize-out the global variables referenced in it).
This was already done for `@llvm.global.annotations`.
Diffstat (limited to 'clang/lib/InstallAPI/HeaderFile.cpp')
0 files changed, 0 insertions, 0 deletions