[PATCH] D112404: [SPIR-V] Add translator tool
Anastasia Stulova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 26 12:05:16 PDT 2021
Anastasia added a comment.
This direction of creating a common translator tool makes sense to me! Thanks!
================
Comment at: clang/include/clang/Driver/Options.td:1534
+ HelpText<"Specify maximum SPIR-V version which can be emitted">;
+def spirv_ext_EQ : CommaJoined<["--"], "spirv-ext">,
+ HelpText<"Specify comma separated list of allowed/disallowed SPIR-V "
----------------
Is this flag expected to be similar to `-cl-ext`?
https://clang.llvm.org/docs/OpenCLSupport.html#cmdoption-cl-ext
It might be good to see how those can align? I imagine for HIP you haven't used such flags yet?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112404/new/
https://reviews.llvm.org/D112404
More information about the cfe-commits
mailing list