================
@@ -150,6 +150,8 @@ static mlir::Value emitAMDGPUDispatchPtr(CIRGenFunction 
&cgf,
   CIRGenBuilderTy &builder = cgf.getBuilder();
   mlir::Value call =
       emitAMDGPUConstantPtrIntrinsic(cgf, loc, "amdgcn.dispatch.ptr");
+  cir::FuncType getIntrinsicType(llvm::Intrinsic::ID id,
+                                 llvm::ArrayRef<mlir::Type> overloadTys = {});
----------------
kazutakahirata wrote:

I don't think you need this `getIntrinsicType` declaration here since it's 
unused and `CIRGenFunction::getIntrinsicType` already exists.

```suggestion
```

https://github.com/llvm/llvm-project/pull/243235
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to