[clang] [clang][AMDGPU] Clean-up handling of named barrier type (PR #207687)

Pierre van Houtryve via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 14 01:24:27 PDT 2026


================
@@ -310,6 +312,7 @@ class LLVM_LIBRARY_VISIBILITY BaseSPIRVTargetInfo : public BaseSPIRTargetInfo {
   BaseSPIRVTargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
       : BaseSPIRTargetInfo(Triple, Opts) {
     assert(Triple.isSPIRV() && "Invalid architecture for SPIR-V.");
+    HasAMDGPUTypes = true;
----------------
Pierre-vh wrote:

I misread the old predicate, this wasn't intentional. Fixed.

https://github.com/llvm/llvm-project/pull/207687


More information about the cfe-commits mailing list