[clang] [llvm] [Driver][clang-linker-wrapper] Add initial support for OpenMP offloading to generic SPIR-V (PR #120145)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 17 07:00:24 PST 2024
================
@@ -28,8 +28,11 @@ void SPIRV::constructTranslateCommand(Compilation &C, const Tool &T,
if (Input.getType() == types::TY_PP_Asm)
CmdArgs.push_back("-to-binary");
+
+ // The text output from spirv-dis is not in the format expected
+ // by llvm-spirv, so use the text output from llvm-spirv.
if (Output.getType() == types::TY_PP_Asm)
- CmdArgs.push_back("--spirv-tools-dis");
+ CmdArgs.push_back("--spirv-text");
----------------
jhuber6 wrote:
This should be a separate fix most likely.
https://github.com/llvm/llvm-project/pull/120145
More information about the llvm-commits
mailing list