[Mlir-commits] [mlir] 9edd1c4 - [MLIR][AMDGPU] Switch to code object version 5 (#79144)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Jan 23 07:00:48 PST 2024
Author: Saiyedul Islam
Date: 2024-01-23T20:30:44+05:30
New Revision: 9edd1c4daeba59b3db3390d449543b71c73f161b
URL: https://github.com/llvm/llvm-project/commit/9edd1c4daeba59b3db3390d449543b71c73f161b
DIFF: https://github.com/llvm/llvm-project/commit/9edd1c4daeba59b3db3390d449543b71c73f161b.diff
LOG: [MLIR][AMDGPU] Switch to code object version 5 (#79144)
As AMDGPU backend has moved to cov5 as default, mlir should also switch
to it.
Added:
Modified:
mlir/lib/Target/LLVM/ROCDL/Target.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Target/LLVM/ROCDL/Target.cpp b/mlir/lib/Target/LLVM/ROCDL/Target.cpp
index a589e5cbbb61983..cdcef1d6b459c65 100644
--- a/mlir/lib/Target/LLVM/ROCDL/Target.cpp
+++ b/mlir/lib/Target/LLVM/ROCDL/Target.cpp
@@ -238,7 +238,7 @@ void SerializeGPUModuleBase::addControlVariables(
addControlVariable("__oclc_wavefrontsize64", wave64);
llvm::Type *i32Ty = llvm::Type::getInt32Ty(module.getContext());
- int abi = 400;
+ int abi = 500;
abiVer.getAsInteger(0, abi);
llvm::GlobalVariable *abiVersion = new llvm::GlobalVariable(
module, i32Ty, true, llvm::GlobalValue::LinkageTypes::LinkOnceODRLinkage,
More information about the Mlir-commits
mailing list