[all-commits] [llvm/llvm-project] 2b2afb: [DX] Add analysis and printer for shader flags

Chris B via All-commits all-commits at lists.llvm.org
Tue Oct 11 12:27:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b2afb2529a143d91989716212709e63926e9547
      https://github.com/llvm/llvm-project/commit/2b2afb2529a143d91989716212709e63926e9547
  Author: Chris Bieneman <chris.bieneman at me.com>
  Date:   2022-10-11 (Tue, 11 Oct 2022)

  Changed paths:
    M llvm/lib/Target/DirectX/CMakeLists.txt
    A llvm/lib/Target/DirectX/DXILShaderFlags.cpp
    A llvm/lib/Target/DirectX/DXILShaderFlags.h
    M llvm/lib/Target/DirectX/DirectXTargetMachine.cpp
    A llvm/test/CodeGen/DirectX/ShaderFlags/double-extensions.ll
    A llvm/test/CodeGen/DirectX/ShaderFlags/doubles.ll
    A llvm/test/CodeGen/DirectX/ShaderFlags/no_flags.ll

  Log Message:
  -----------
  [DX] Add analysis and printer for shader flags

This adds infrastructural pieces for an analysis to compute the DXIL
shader flags. In this state the analysis can compute two fairly
straightforward feature flags for use of double-precision floating
point values and the DX 11.1 extended double support.

This patch does conflict with D135190, conflicts will be resolved prior
to merging.

Reviewed By: python3kgae

Differential Revision: https://reviews.llvm.org/D135393

# Conflicts:
#	llvm/lib/Target/DirectX/CMakeLists.txt
#	llvm/lib/Target/DirectX/DirectXTargetMachine.cpp




More information about the All-commits mailing list