[clang] [mlir] [llvm] [lld] [AMDGPU] Change default AMDHSA Code Object version to 5 (PR #73000)

David Blaikie via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 22 14:29:30 PST 2023


================
@@ -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


More information about the cfe-commits mailing list