Skip to content

Commit

Permalink
[BACKEND] Update LLVM version to llvm/llvm-project@99bb9a7 (#4410)
Browse files Browse the repository at this point in the history
  • Loading branch information
karupayun committed Jul 30, 2024
1 parent 455e93f commit de46a0e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/llvm-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dd7d81ea49bf39e1d69bbb84bd3f31bd95519369
99bb9a719cec9513e72ad275c1c0302b76b6c408
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class CallOpConversion : public mlir::RewritePattern {
auto operands = callOp.getOperands();
auto result = callOp.getResult();

LLVM::LLVMFunctionType calleeType = callOp.getCalleeType().value();
LLVM::LLVMFunctionType calleeType = callOp.getVarCalleeType().value();
Type returnType = calleeType.getReturnType();

auto loc = callOp.getLoc();
Expand Down
4 changes: 1 addition & 3 deletions third_party/amd/python/triton_amd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,7 @@ 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, mcOptions.MCRelaxAll,
mcOptions.MCIncrementalLinkerCompatible,
/*DWARFMustBeAtTheEnd=*/false));
std::move(ce), *sti));

std::unique_ptr<llvm::MCAsmParser> parser(
createMCAsmParser(srcMgr, ctx, *mcStreamer, *mai));
Expand Down

0 comments on commit de46a0e

Please sign in to comment.