[clang] [CIR][SPIR-V] Keep atomic sync scopes (PR #231754)
Steffen Larsen via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 14 00:30:56 PDT 2026
================
@@ -27,7 +27,12 @@ constexpr unsigned SPIRVAddrSpaceMap[] = {
};
class SPIRVTargetLoweringInfo : public TargetLoweringInfo {
+ // SPIR keeps the default system scope, like CommonSPIRTargetCodeGenInfo.
+ bool isSPIRV;
----------------
steffenlarsen wrote:
```suggestion
const bool isSPIRV;
```
https://github.com/llvm/llvm-project/pull/231754
More information about the cfe-commits
mailing list