================
@@ -3232,7 +3232,7 @@ RValue CIRGenFunction::emitBuiltinExpr(const GlobalDecl
&gd, unsigned builtinID,
if ((getTarget().getTriple().isAMDGCN() ||
getTarget().getTriple().isSPIRV()) &&
getLangOpts().HIP)
- return errorBuiltinNYI(*this, e, builtinID);
+ return RValue::get(emitDevicePrintfCallExpr(e));
----------------
steffenlarsen wrote:
Even better, all paths inside the outer condition should go through this path,
so I've simplified it.
https://github.com/llvm/llvm-project/pull/231563
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits