[PATCH] D134330: [Docs] [HLSL] Add note about PCH support
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 5 09:38:22 PDT 2022
python3kgae updated this revision to Diff 465441.
python3kgae added a comment.
Update to match comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134330/new/
https://reviews.llvm.org/D134330
Files:
clang/docs/HLSL/HLSLSupport.rst
Index: clang/docs/HLSL/HLSLSupport.rst
===================================================================
--- clang/docs/HLSL/HLSLSupport.rst
+++ clang/docs/HLSL/HLSLSupport.rst
@@ -89,6 +89,15 @@
``ExternalSemaSource`` to lazily complete data types, which is a **huge**
performance win for HLSL.
+If precompiled headers are used when compiling HLSL, the ``ExternalSemaSource``
+will be a ``MultiplexExternalSemaSource`` which includes both the ``ASTReader``
+and ``HLSLExternalSemaSource``. For Built-in declarations that are already
+completed in the serialized AST, the ``HLSLExternalSemaSource`` will reuse the
+existing declarations and not introduce new declarations. If the built-in types
+are not completed in the serialized AST, the ``HLSLExternalSemaSource`` will
+create new declarations and connect the de-serialized decls as the previous
+declaration.
+
CodeGen
-------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134330.465441.patch
Type: text/x-patch
Size: 892 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221005/a0eb57dc/attachment.bin>
More information about the cfe-commits
mailing list