Skip to content

Commit

Permalink
Fix in dllInterfaceCompute.cpp related to dump LLVM IR option
Browse files Browse the repository at this point in the history
Small fix in dllInterfaceCompute.cpp related to previously added option to dump LLVM IR
  • Loading branch information
fveselov authored and igcbot committed Jun 27, 2023
1 parent cd0bee1 commit fb855f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions IGC/AdaptorOCL/dllInterfaceCompute.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -476,10 +476,10 @@ bool TranslateSPIRVToLLVM(
Context,
*LLVMModule,
llvm::StringRef(InputArgs.pOptions, InputArgs.OptionsSize));
}

if (IGC_IS_FLAG_ENABLED(ShaderDumpTranslationOnly))
LLVMModule->dump();
if (IGC_IS_FLAG_ENABLED(ShaderDumpTranslationOnly))
LLVMModule->dump();
}

return success;
}
Expand Down

0 comments on commit fb855f1

Please sign in to comment.