diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-01-29 08:46:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 08:46:14 -0600 |
commit | c9a6e993f7b349405b6c8f9244cd9cf0f56a6a81 (patch) | |
tree | 78dcf5db5efe4cc659e2674e1378e9e46c6bc26f /lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h | |
parent | 5e3fc9c37f01c75fad306db71b5235bdc300194b (diff) | |
download | llvm-c9a6e993f7b349405b6c8f9244cd9cf0f56a6a81.zip llvm-c9a6e993f7b349405b6c8f9244cd9cf0f56a6a81.tar.gz llvm-c9a6e993f7b349405b6c8f9244cd9cf0f56a6a81.tar.bz2 |
[AMDGPU] Do not emit arch dependent macros with unspecified cpu (#79660)
Summary:
Currently, the AMDGPU toolchain accepts not passing `-mcpu` as a means
to create a sort of "generic" IR. The resulting IR will not contain any
target dependent attributes and can then be inserted into another
program via `-mlink-builtin-bitcode` to inherit its attributes.
However, there are a handful of macros that can leak incorrect
information when compiling for an unspecified architecture. Currently,
things like the wavefront size will default to 64, which is actually
variable. We should not expose these macros unless it is known.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/lldb-python.h')
0 files changed, 0 insertions, 0 deletions