[llvm] [SPIR-V] Emit proper pointer type for OpenCL kernel arguments (PR #67726)

Ilia Diachkov via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 5 06:16:54 PDT 2023


================
@@ -37,6 +37,18 @@ std::optional<bool> lowerBuiltin(const StringRef DemangledCall,
                                  const Register OrigRet, const Type *OrigRetTy,
                                  const SmallVectorImpl<Register> &Args,
                                  SPIRVGlobalRegistry *GR);
+
+/// Translates a string representing a SPIR-V or OpenCL to a TargetExtType that
----------------
iliya-diyachkov wrote:

Maybe "SPIR-V or OpenCL" -> "SPIR-V or OpenCL builtin type"?

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


More information about the llvm-commits mailing list