[PATCH] D125679: [Clang] Added options for integrated backend only used for SPIR-V for now
Ilia Diachkov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 16 16:23:22 PDT 2022
iliya-diyachkov added a comment.
I'm not an expert in clang, but overall the patch looks good to me.
================
Comment at: clang/docs/UsersManual.rst:3640
+Clang also supports integrated generation of SPIR-V without use of ``llvm-spirv``
+tool as an exerimental feature when ``-fintegrated-objemitter`` flag is passed in
+the command line.
----------------
Please fix typo in "exerimental".
================
Comment at: clang/include/clang/Driver/ToolChain.h:392
+
+ /// IsIntegratedBackendSupported - Does this tool chain supports
+ /// -fintegrated-objemitter.
----------------
Probably change "supports" to "support".
================
Comment at: clang/include/clang/Driver/ToolChain.h:396
+
+ /// IsNonIntegratedBackendSupported - Does this tool chain supports
+ /// -fno-integrated-objemitter.
----------------
The same issue.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125679/new/
https://reviews.llvm.org/D125679
More information about the cfe-commits
mailing list