Skip to content

Commit 0d99254

Browse files
committed
nfc: update doc
1 parent eeb3604 commit 0d99254

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

llvm/docs/DirectX/DXILArchitecture.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,10 @@ The passes to generate DXIL IR follow the flow:
118118
Each 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

125126
The passes to encode DXIL to binary in the DX Container follow the flow:
126127

llvm/lib/Target/DirectX/DXILTranslateMetadata.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313

1414
namespace 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
1718
class DXILTranslateMetadata : public PassInfoMixin<DXILTranslateMetadata> {
1819
public:
1920
PreservedAnalyses run(Module &M, ModuleAnalysisManager &);

0 commit comments

Comments
 (0)