[clang] [libclc] libclc: remove __attribute__((assume)) for clspv targets (PR #92126)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 07:19:48 PDT 2024


================
@@ -4561,3 +4561,9 @@ def CodeAlign: StmtAttr {
     static constexpr int MaximumAlignment = 4096;
   }];
 }
+
+def ClspvLibclcBuiltin: DeclOrStmtAttr {
+  let Spellings = [Clang<"clspv_libclc_builtin">];
+  let Documentation = [Undocumented];
+  let SimpleHandler = 1;
----------------
erichkeane wrote:

This should also probably set 'appertainment' via `Subjects`.

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


More information about the cfe-commits mailing list