[clang] [clang][AMDGPU] Clean-up handling of named barrier type (PR #207687)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 6 03:30:41 PDT 2026
================
@@ -5492,6 +5492,18 @@ bool Type::isCUDADeviceBuiltinTextureType() const {
return false;
}
+bool Type::isAMDGPUNamedBarrierType() const {
+ const Type *Ty = getUnqualifiedDesugaredType();
+
+ // unwrap arrays
+ while (isa<ArrayType>(Ty))
+ Ty = Ty->getArrayElementTypeNoTypeQual();
----------------
arsenm wrote:
Missing tests for multidimensional array?
https://github.com/llvm/llvm-project/pull/207687
More information about the cfe-commits
mailing list