[lld] [clang] [flang] [llvm] [AMDGPU] Introduce Code Object V6 (PR #76954)

Pierre van Houtryve via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 06:04:06 PST 2024


================
@@ -2585,7 +2585,7 @@ getAMDGPUCodeObjectArgument(const Driver &D, const llvm::opt::ArgList &Args) {
 void tools::checkAMDGPUCodeObjectVersion(const Driver &D,
                                          const llvm::opt::ArgList &Args) {
   const unsigned MinCodeObjVer = 4;
-  const unsigned MaxCodeObjVer = 5;
+  const unsigned MaxCodeObjVer = 6;
----------------
Pierre-vh wrote:

I'm wondering if we should print a warning when V6 is enabled (either here or in the backend) to note that it's in development and not ready yet? Something like "code object v6 is still experimental and not ready for production use"


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


More information about the llvm-commits mailing list