[flang-commits] [flang] [clang] [Flang] Add code-object-version option (PR #72638)

Andrzej WarzyƄski via flang-commits flang-commits at lists.llvm.org
Sun Nov 19 05:27:49 PST 2023


================
@@ -85,6 +85,19 @@ class CodeGenOptions : public CodeGenOptionsBase {
     RK_WithPattern, // Remark pattern specified via '-Rgroup=regexp'.
   };
 
+  /// \brief Enumeration value for AMDGPU code object version, which is the
+  /// code object version times 100.
+  enum class CodeObjectVersionKind {
+    COV_None,
+    COV_2 = 200, // Unsupported.
+    COV_3 = 300, // Unsupported.
----------------
banach-space wrote:

What does `COV` stand for and what does `unsupported` mean in this context? Why list any unsupported versions? Isn't it a bit like:
*  `400` and `500` _are supported_, and
* everything else is _not supported_?

https://github.com/llvm/llvm-project/pull/72638


More information about the flang-commits mailing list