[all-commits] [llvm/llvm-project] a429df: [Driver][SPIR-V] Use consistent tools to convert b...

Nick Sarnie via All-commits all-commits at lists.llvm.org
Thu Jan 9 07:59:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a429dfc167258cf023b2e4c20874a228298372e6
      https://github.com/llvm/llvm-project/commit/a429dfc167258cf023b2e4c20874a228298372e6
  Author: Nick Sarnie <nick.sarnie at intel.com>
  Date:   2025-01-09 (Thu, 09 Jan 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/SPIRV.cpp
    M clang/lib/Driver/ToolChains/SPIRV.h
    M clang/test/Driver/spirv-toolchain.cl

  Log Message:
  -----------
  [Driver][SPIR-V] Use consistent tools to convert between text and binary form (#120266)

Currently we produce SPIR-V text with `spirv-dis` but assemble it with
`llvm-spirv`. The SPIR-V text format is different between the tools so
the assemble fails. Use `spirv-as` for assembly as it uses the same
format.

---------

Signed-off-by: Sarnie, Nick <nick.sarnie at intel.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list