This is an archive of the discontinued LLVM Phabricator instance.

[DX] Add analysis and printer for shader flags
ClosedPublic

Authored by beanz on Oct 6 2022, 1:12 PM.

Details

Summary

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.

Diff Detail

Event Timeline

beanz created this revision.Oct 6 2022, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2022, 1:12 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
beanz requested review of this revision.Oct 6 2022, 1:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2022, 1:12 PM
python3kgae added inline comments.Oct 9 2022, 8:42 AM
llvm/lib/Target/DirectX/DXILShaderFlags.h
33

undef SHADER_FLAG after use?

beanz added inline comments.Oct 9 2022, 9:16 AM
llvm/lib/Target/DirectX/DXILShaderFlags.h
33

The header undef’s the macro.

python3kgae accepted this revision.Oct 9 2022, 9:40 AM
This revision is now accepted and ready to land.Oct 9 2022, 9:40 AM
This revision was landed with ongoing or failed builds.Oct 11 2022, 12:27 PM
This revision was automatically updated to reflect the committed changes.