[PATCH] D135393: [DX] Add analysis and printer for shader flags

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 6 13:12:56 PDT 2022


beanz created this revision.
beanz added reviewers: python3kgae, bogner, pow2clk.
Herald added a subscriber: hiraditya.
Herald added a project: All.
beanz requested review of this revision.
Herald added a project: LLVM.

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 <https://reviews.llvm.org/D135190>, conflicts will be resolved prior
to merging.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135393

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135393.465847.patch
Type: text/x-patch
Size: 9523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221006/fac3125b/attachment.bin>


More information about the llvm-commits mailing list