diff --git a/cmake/llvm-hash.txt b/cmake/llvm-hash.txt index 8d223b744a09..a172932ccb77 100644 --- a/cmake/llvm-hash.txt +++ b/cmake/llvm-hash.txt @@ -1 +1 @@ -99bb9a719cec9513e72ad275c1c0302b76b6c408 +982c54719289c1d85d03be3ad9e95bbfd2862aee diff --git a/third_party/amd/lib/TritonAMDGPUToLLVM/BuiltinFuncToLLVM.cpp b/third_party/amd/lib/TritonAMDGPUToLLVM/BuiltinFuncToLLVM.cpp index cddf0898128a..99dad006dba3 100644 --- a/third_party/amd/lib/TritonAMDGPUToLLVM/BuiltinFuncToLLVM.cpp +++ b/third_party/amd/lib/TritonAMDGPUToLLVM/BuiltinFuncToLLVM.cpp @@ -128,7 +128,7 @@ class CallOpConversion : public mlir::RewritePattern { auto operands = callOp.getOperands(); auto result = callOp.getResult(); - LLVM::LLVMFunctionType calleeType = callOp.getVarCalleeType().value(); + LLVM::LLVMFunctionType calleeType = callOp.getCalleeType().value(); Type returnType = calleeType.getReturnType(); auto loc = callOp.getLoc(); diff --git a/third_party/amd/python/triton_amd.cc b/third_party/amd/python/triton_amd.cc index 27e22e54655f..bee5437555f4 100644 --- a/third_party/amd/python/triton_amd.cc +++ b/third_party/amd/python/triton_amd.cc @@ -193,7 +193,9 @@ void init_triton_amd(py::module &&m) { target->createMCAsmBackend(*sti, *mri, mcOptions)); mcStreamer.reset(target->createMCObjectStreamer( triple, ctx, std::move(mab), mab->createObjectWriter(svos), - std::move(ce), *sti)); + std::move(ce), *sti, mcOptions.MCRelaxAll, + mcOptions.MCIncrementalLinkerCompatible, + /*DWARFMustBeAtTheEnd=*/false)); std::unique_ptr parser( createMCAsmParser(srcMgr, ctx, *mcStreamer, *mai));