Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[DirectX] Implement pass to transform tbaa LLVM metadata to DXIL version #139610

Copy link
Copy link
Open
@inbelic

Description

@inbelic
Issue body actions

From #137386 (comment).

We need to account for when the modern metadata representation (eg tbaa) has changed from DXC. The upstream representation version is what is generated when with code-gen in clang but we will need to lower it to be the DXIL compliant metadata.

In this case, it would entail removing metadata that is unknown in DXIL. As part of this change, we should move the current whitelist of metadata removal to this pass: #136386.

This issue is ready for refinement when we have decided where the pass should be located (DXILTranslateMetadata or new a new DXIL pass).

With that noted, it raises the following implementation questions:

AC:

  • Define a pass that translates modern metadata into a DXIL compliant metadata representation
  • Add test cases of the passes removing/transforming respective metadata

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.