Skip to content

Commit

Permalink
[Draft] Update LLVM version to debug a building issue
Browse files Browse the repository at this point in the history
This draft PR is trying to find the culprit of the building issue we currently have when we try to update llvm. We are bisecting between 2 versions.
  • Loading branch information
karupayun committed Aug 1, 2024
1 parent c6431be commit 20917d6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cmake/llvm-hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
99bb9a719cec9513e72ad275c1c0302b76b6c408
56277948d577245be845c89a7d7c3a5ccd9747ef
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.getVarCalleeType().value();
LLVM::LLVMFunctionType calleeType = callOp.getCalleeType().value();
Type returnType = calleeType.getReturnType();

auto loc = callOp.getLoc();
Expand Down
4 changes: 3 additions & 1 deletion third_party/amd/python/triton_amd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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<llvm::MCAsmParser> parser(
createMCAsmParser(srcMgr, ctx, *mcStreamer, *mai));
Expand Down

0 comments on commit 20917d6

Please sign in to comment.