diff options
author | Alex Voicu <alexandru.voicu@amd.com> | 2024-09-25 00:44:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-25 00:44:57 +0100 |
commit | 3cfd0c0d36975504099034ce11f4df07c5a7eba7 (patch) | |
tree | c435c07f329193df620f7e5545ade1ef719d22c5 /lldb/source/Commands/CommandObjectFrame.cpp | |
parent | 4c3fccdd8831c8ef8c7191a7f68e8341c3123eb7 (diff) | |
download | llvm-3cfd0c0d36975504099034ce11f4df07c5a7eba7.zip llvm-3cfd0c0d36975504099034ce11f4df07c5a7eba7.tar.gz llvm-3cfd0c0d36975504099034ce11f4df07c5a7eba7.tar.bz2 |
[SPIRV][RFC] Rework / extend support for memory scopes (#106429)
This change adds support for correctly lowering the `__scoped` Clang
builtins, and corresponding scoped LLVM instructions. These were
previously unconditionally lowered to Device scope, which is possibly incorrect.
Furthermore, the default / implicit scope is changed from Device (an
OpenCL assumption) to AllSvmDevices (aka System), since the SPIR-V BE is not
OpenCL specific / can ingest IR coming from other language front-ends. OpenCL
defaulting to Device scope is now reflected in the front-end handling of atomic
ops, which seems preferable.
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
0 files changed, 0 insertions, 0 deletions