[clang] [llvm] [AMDGPU][clang][CodeGen][opt] Add late-resolved feature identifying predicates (PR #134016)

Erich Keane via llvm-commits llvm-commits at lists.llvm.org
Fri May 16 06:28:23 PDT 2025


================
@@ -366,4 +367,72 @@ void SemaAMDGPU::handleAMDGPUMaxNumWorkGroupsAttr(Decl *D,
   addAMDGPUMaxNumWorkGroupsAttr(D, AL, AL.getArgAsExpr(0), YExpr, ZExpr);
 }
 
+Expr *SemaAMDGPU::ExpandAMDGPUPredicateBI(CallExpr *CE) {
+  auto &Ctx = getASTContext();
----------------
erichkeane wrote:

None of these are supposed to be 'auto' unless the type itself is on the RHS.  Goes for most of this function.

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


More information about the llvm-commits mailing list