This is an archive of the discontinued LLVM Phabricator instance.

[HLSL] skip unused global resource when collect resources.
Needs ReviewPublic

Authored by python3kgae on Oct 20 2022, 4:12 PM.

Details

Summary

Only used global resource should be added to resource table for DXIL.
Assume optimization runs before collecting resources.

Diff Detail

Event Timeline

python3kgae created this revision.Oct 20 2022, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 4:12 PM
python3kgae requested review of this revision.Oct 20 2022, 4:12 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 20 2022, 4:12 PM