================
@@ -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));
----------------
aobolensk wrote:
We should leave it as is for non-AMD SPIr-V
https://github.com/llvm/llvm-project/pull/231563
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits