[clang] [llvm] [AMDGPU] Enable OpenCL hostcall printf (WIP) (PR #72556)
Vikram Hegde via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 21 03:09:40 PST 2024
================
@@ -178,17 +181,29 @@ RValue CodeGenFunction::EmitNVPTXDevicePrintfCallExpr(const CallExpr *E) {
E, this, GetVprintfDeclaration(CGM.getModule()), false);
}
+// Deterimines if an argument is a string
+static bool isString(const clang::Type *argXTy) {
----------------
vikramRH wrote:
I have removed this, addrspace cast is done during arg processing.
https://github.com/llvm/llvm-project/pull/72556
More information about the cfe-commits
mailing list