[clang] [CIR][AMDGPU][NFC] Add CIRGenBuiltinAMDGPU file to support AMDGPU builtins codegen (PR #179237)
Andy Kaylor via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 3 11:46:40 PST 2026
================
@@ -1802,6 +1802,9 @@ class CIRGenFunction : public CIRGenTypeCache {
LValue emitMemberExpr(const MemberExpr *e);
+ /// Emit a call to an AMDGPU builtin function.
+ mlir::Value emitAMDGPUBuiltinExpr(unsigned builtinID, const CallExpr *expr);
----------------
andykaylor wrote:
```suggestion
std::optional<mlir::Value>
emitAMDGPUBuiltinExpr(unsigned builtinID, const CallExpr *expr);
```
https://github.com/llvm/llvm-project/pull/179237
More information about the cfe-commits
mailing list