[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Fri May 16 06:28:21 PDT 2025
================
@@ -64,6 +68,11 @@ class SemaAMDGPU : public SemaBase {
void handleAMDGPUNumVGPRAttr(Decl *D, const ParsedAttr &AL);
void handleAMDGPUMaxNumWorkGroupsAttr(Decl *D, const ParsedAttr &AL);
void handleAMDGPUFlatWorkGroupSizeAttr(Decl *D, const ParsedAttr &AL);
+
+ /// Expand a valid use of the feature identification builtins into its
+ /// corresponding sequence of instructions.
+ Expr *ExpandAMDGPUPredicateBI(CallExpr *CE);
----------------
erichkeane wrote:
```suggestion
Expr *ExpandAMDGPUPredicateBuiltIn(CallExpr *CE);
```
https://github.com/llvm/llvm-project/pull/134016
More information about the cfe-commits
mailing list