Skip to content

Commit b2de88f

Browse files
authored
[BACKEND] Update LLVM version to llvm/llvm-project@7f7f4fe (triton-lang#4578)
1 parent 494f55c commit b2de88f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cmake/llvm-hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1115dee248e68a155001ac3712a189299d104863
1+
7f7f4feaf07dd3bb4b22d0c25d34b6c99c753aa2

python/src/ir.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "mlir/Dialect/Index/IR/IndexDialect.h"
99
#include "mlir/Dialect/Index/IR/IndexOps.h"
1010
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
11+
#include "mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h"
1112
#include "mlir/IR/Builders.h"
1213
#include "mlir/IR/BuiltinOps.h"
1314
#include "mlir/IR/Diagnostics.h"
@@ -224,6 +225,7 @@ void init_triton_ir(py::module &&m) {
224225
math::MathDialect, arith::ArithDialect, index::IndexDialect,
225226
scf::SCFDialect, ::mlir::gpu::GPUDialect,
226227
cf::ControlFlowDialect, LLVM::LLVMDialect>();
228+
mlir::LLVM::registerInlinerInterface(registry);
227229
registerBuiltinDialectTranslation(registry);
228230
registerLLVMDialectTranslation(registry);
229231
context.appendDialectRegistry(registry);

0 commit comments

Comments
 (0)