[all-commits] [llvm/llvm-project] 6c320b: [SPIRV] Add -spirv option to DXC driver (#65989)

Natalie Chouinard via All-commits all-commits at lists.llvm.org
Wed Nov 1 10:41:45 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6c320b434d249c0d5692cbecc0e67ec22d659b7e
      https://github.com/llvm/llvm-project/commit/6c320b434d249c0d5692cbecc0e67ec22d659b7e
  Author: Natalie Chouinard <1953083+sudonatalie at users.noreply.github.com>
  Date:   2023-11-01 (Wed, 01 Nov 2023)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/Driver.cpp
    A clang/test/Driver/dxc_spirv.hlsl

  Log Message:
  -----------
  [SPIRV] Add -spirv option to DXC driver (#65989)

Add an option to target SPIR-V to the clang-dxc driver, which sets the
target triple's architecture to logical SPIR-V. This does not yet
address the need for a Vulkan target environment in the triple, tracked
in Issue #70051.

Depends on #70330




More information about the All-commits mailing list