This is an archive of the discontinued LLVM Phabricator instance.

Add DXIL triple
ClosedPublic

Authored by beanz on Mar 18 2022, 1:19 PM.

Details

Summary

This patch adds triple support for:

  • dxil architecture
  • shadermodel OS (with version parsing)
  • shader stages as environment

Diff Detail

Event Timeline

beanz created this revision.Mar 18 2022, 1:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 1:19 PM
beanz requested review of this revision.Mar 18 2022, 1:19 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 18 2022, 1:19 PM
beanz updated this revision to Diff 416593.Mar 18 2022, 1:26 PM

Updating LastOSType

thieta added a subscriber: thieta.Mar 18 2022, 2:48 PM
pete accepted this revision.Mar 18 2022, 4:33 PM
pete added a subscriber: pete.

LGTM

This revision is now accepted and ready to land.Mar 18 2022, 4:33 PM
beanz updated this revision to Diff 416654.Mar 18 2022, 7:20 PM

Adding DXBC object format

(I forgot this is needed to get llc working)

beanz updated this revision to Diff 416663.Mar 18 2022, 8:20 PM

Rolling back the DXBC change. That will go in the next change. Sorry for the noise.

MaskRay accepted this revision.Mar 18 2022, 9:26 PM
MaskRay added inline comments.
llvm/unittests/ADT/TripleTest.cpp
1530

ditto below

This revision was landed with ongoing or failed builds.Mar 18 2022, 10:18 PM
Closed by commit rG95871187bfbc: Add DXIL triple (authored by beanz). · Explain Why
This revision was automatically updated to reflect the committed changes.