[clang] [libclc] libclc: remove __attribute__((assume)) for clspv targets (PR #92126)
via cfe-commits
cfe-commits at lists.llvm.org
Tue May 14 07:21:47 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;
----------------
Sirraide wrote:
Also, is there a reason as to why it’s a `DeclOrStmtAttr` instead of an `InheritableAttr`? Because afaik most of the other function attributes use the latter.
https://github.com/llvm/llvm-project/pull/92126
More information about the cfe-commits
mailing list