Skip to content

Introduce DXIL Metadata analysis pass #63835

@bogner

Description

@bogner

We need an analysis pass, DXILMetadataAnalysis, that reads information such as the validator version, shader model and stage, entry point properties, and pre SM6.6 resource bindings from a DXIL module. The result of this analysis should be an abstraction of the various pieces of metadata that DXIL stores. This will be used for translating DXIL into modern LLVM for tooling and testing purposes.

This should also mean we can drop the abstractions in lib/Target/DirectX/DXILMetadata.cpp and have DXILTranslateMetadata and friends use the DXILMetadataAnalysis structures as necessary instead.

Acceptance Criteria

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportllvm:analysisIncludes value tracking, cost tables and constant folding

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions