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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to