================ @@ -2402,7 +2402,7 @@ void tools::checkAMDGPUCodeObjectVersion(const Driver &D, unsigned tools::getAMDGPUCodeObjectVersion(const Driver &D, const llvm::opt::ArgList &Args) { - unsigned CodeObjVer = 4; // default + unsigned CodeObjVer = 5; // default ---------------- dwblaikie wrote:
Perhaps at least this could be avoided? The flag configuration already says what th edefault value is - could that be relied on without needing to specify a value here too? https://github.com/llvm/llvm-project/pull/73000 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits