P4 to Git Change 1197288 by mbareghe@mbareghe_stg_win30 on 2015/10/06 14:29:07

SWDEV-78024 - SYCL - Issue with printf when printing a string without format specifier - removed the condition to expand printf only if it has more than one arguemnt.

Affected files ...

... //depot/stg/opencl/drivers/opencl/compiler/llvm32/lib/Target/AMDIL/AMDILPrintfConvert.cpp#2 edit
... //depot/stg/opencl/drivers/opencl/compiler/llvm32/test/CodeGen/AMDIL/printf_without_format_specifier.ll#1 add
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuprintf.cpp#39 edit


[ROCm/clr commit: cb963bf9eb]
Bu işleme şunda yer alıyor:
foreman
2015-10-06 14:37:59 -04:00
ebeveyn babb59fc2c
işleme fb0cfaeef3
-5
Dosyayı Görüntüle
@@ -514,11 +514,6 @@ PrintfDbg::outputDbgBuffer(const PrintfInfo& info, const uint32_t* workitemData,
/ sizeof(uint32_t);
}
}
else {
amd::Os::printf("Error: The arguments don't match the printf format string. printf(%s)",
info.fmtString_.data());
return;
}
}
if (pos != std::string::npos) {