This is an archive of the discontinued LLVM Phabricator instance.

[DirectX] Only embed dxil when writing object files
ClosedPublic

Authored by bogner on Aug 15 2023, 10:07 PM.

Details

Summary

When emitting assembly we don't particularly want the binary DXIL
embedded in the output. This was mostly there for testing purposes, so
we update those tests to run the test directly using opt and
restrict the -dxil-embed and -dxil-globals passes to running normally
only in the case where we're trying to emit a DXContainer.

Diff Detail

Event Timeline

bogner created this revision.Aug 15 2023, 10:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 10:07 PM
bogner requested review of this revision.Aug 15 2023, 10:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 15 2023, 10:07 PM
beanz accepted this revision.Aug 16 2023, 10:43 AM
This revision is now accepted and ready to land.Aug 16 2023, 10:43 AM
This revision was automatically updated to reflect the committed changes.