================ @@ -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:
> BTW. Is it possible to set the default version for Flang in similar way as it > is done for Clang? Sadly, ATM, Flang does not use the "option marshaling" logic/macros. I am not aware of anyone working on this. https://github.com/llvm/llvm-project/pull/72638 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits