This is an archive of the discontinued LLVM Phabricator instance.

[HLSL] Remove unused frontend-generated ID
ClosedPublic

Authored by beanz on Oct 19 2022, 10:34 AM.

Details

Summary

As @python3kgae pointed out we're going to want to assign these IDs
after optimization so that we can remove unused resrouces. This patch
just removes the unused ID value from the frontend metadata, clang code
generation, and updates associated test cases.

Diff Detail

Event Timeline

beanz created this revision.Oct 19 2022, 10:34 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 19 2022, 10:34 AM
beanz requested review of this revision.Oct 19 2022, 10:34 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptOct 19 2022, 10:34 AM
python3kgae accepted this revision.Oct 19 2022, 2:35 PM
This revision is now accepted and ready to land.Oct 19 2022, 2:35 PM
This revision was automatically updated to reflect the committed changes.