Skip to content

Commit d8d0d38

Browse files
Fix build failure from llvm/llvm-project@570885128351
Signed-off-by: Whitney Tsang <[email protected]>
1 parent 358267b commit d8d0d38

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

third_party/intel/lib/TritonIntelGPUToLLVM/PipelineManager.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ namespace mlir {
3838
FailureOr<LLVM::LLVMFuncOp>
3939
convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp,
4040
ConversionPatternRewriter &rewriter,
41-
const LLVMTypeConverter &converter);
41+
const LLVMTypeConverter &converter,
42+
SymbolTableCollection *symbolTables = nullptr);
4243
}
4344

4445
namespace mlir::triton::intel {

third_party/intel/lib/TritonIntelGPUToLLVM/TritonGPUToLLVM.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@ namespace mlir::triton::gpu::intel {
2525
#include "intel/include/TritonIntelGPUToLLVM/Passes.h.inc"
2626
} // namespace mlir::triton::gpu::intel
2727

28-
namespace mlir {
29-
FailureOr<LLVM::LLVMFuncOp>
30-
convertFuncOpToLLVMFuncOp(FunctionOpInterface funcOp,
31-
ConversionPatternRewriter &rewriter,
32-
const LLVMTypeConverter &converter);
33-
}
34-
3528
using namespace mlir;
3629

3730
namespace {

third_party/intel/triton_xpu.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include "passes.h"
44

55
#include "llvm/IR/InstIterator.h"
6+
#include "llvm/IR/Operator.h"
67
#include "llvm/IRReader/IRReader.h"
78
#include "llvm/Passes/PassBuilder.h"
89
#include "llvm/Passes/PassPlugin.h"

0 commit comments

Comments
 (0)