We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f80a26 commit acd22f5Copy full SHA for acd22f5
amd/comgr/src/comgr-compiler.cpp
@@ -1931,9 +1931,11 @@ amd_comgr_status_t AMDGPUCompiler::translateSpirvToBitcode() {
1931
return Status;
1932
}
1933
1934
- LogS << "SPIR-V Translation: amd-llvm-spirv -r --spirv-target-env=CL2.0 "
1935
- << getFilePath(Input, InputDir) << " "
1936
- << getFilePath(Output, OutputDir) << " (command line equivalent)\n";
+ if (env::shouldEmitVerboseLogs()) {
+ LogS << "SPIR-V Translation: amd-llvm-spirv -r --spirv-target-env=CL2.0 "
+ << getFilePath(Input, InputDir) << " "
1937
+ << getFilePath(Output, OutputDir) << " (command line equivalent)\n";
1938
+ }
1939
1940
if (env::shouldSaveTemps()) {
1941
if (auto Status = outputToFile(Output, getFilePath(Output, OutputDir))) {
0 commit comments