File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -118,9 +118,10 @@ The passes to generate DXIL IR follow the flow:
118118Each of these passes has a defined responsibility:
119119
120120#. DXILOpLowering translates LLVM intrinsic calls to dx.op calls.
121- #. DXILPrepare transforms the DXIL IR to be compatible with LLVM 3.7, and
122- inserts bitcasts to allow typed pointers to be inserted.
123- #. DXILTranslateMetadata emits the DXIL Metadata structures.
121+ #. DXILPrepare updates functions in the DXIL IR to be compatible with LLVM 3.7,
122+ namely removing attributes, and inserting bitcasts to allow typed pointers
123+ to be inserted.
124+ #. DXILTranslateMetadata transforms and emits all recognized DXIL Metadata.
124125
125126The passes to encode DXIL to binary in the DX Container follow the flow:
126127
Original file line number Diff line number Diff line change 1313
1414namespace llvm {
1515
16- // / A pass that transforms DXIL Intrinsics that don't have DXIL opCodes
16+ // / A pass that transforms LLVM Metadata in the module to it's DXIL equivalent,
17+ // / then emits all recognized DXIL Metadata
1718class DXILTranslateMetadata : public PassInfoMixin <DXILTranslateMetadata> {
1819public:
1920 PreservedAnalyses run (Module &M, ModuleAnalysisManager &);
You can’t perform that action at this time.
0 commit comments