File tree Expand file tree Collapse file tree 3 files changed +4
-9
lines changed
lib/Conversion/TritonGPUToLLVM
third_party/amd/lib/TritonAMDGPUToLLVM Expand file tree Collapse file tree 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
- 8957e64a20fc7f4277565c6cfe3e555c119783ce
1
+ 570885128351868c1308bb22e8ca351d318bc4a1
Original file line number Diff line number Diff line change
1
+ #include " mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
1
2
#include " mlir/Dialect/LLVMIR/NVVMDialect.h"
2
3
#include " mlir/IR/BuiltinAttributes.h"
3
4
#include " triton/Conversion/TritonGPUToLLVM/PatternTritonGPUOpToLLVM.h"
4
5
#include " triton/Conversion/TritonGPUToLLVM/Utility.h"
5
6
6
- namespace mlir {
7
- FailureOr<LLVM::LLVMFuncOp>
8
- convertFuncOpToLLVMFuncOp (FunctionOpInterface funcOp,
9
- ConversionPatternRewriter &rewriter,
10
- const LLVMTypeConverter &converter);
11
- }
12
-
13
7
namespace {
14
8
15
9
using namespace mlir ;
Original file line number Diff line number Diff line change 1
1
#include " TritonAMDGPUToLLVM/Passes.h"
2
+ #include " llvm/IR/IRBuilder.h"
2
3
#include " llvm/IR/Instructions.h"
3
4
#include " llvm/IR/PatternMatch.h"
4
5
#include " llvm/IR/Verifier.h"
@@ -79,7 +80,7 @@ struct ScalarizePackedFOps : FunctionPass {
79
80
ScalarizePackedFOps () : FunctionPass(ID) {}
80
81
81
82
bool runOnFunction (Function &F) override {
82
- IRBuilder builder (F.getContext ());
83
+ IRBuilder<> builder (F.getContext ());
83
84
bool changed = false ;
84
85
SmallVector<Instruction *> instsToErase;
85
86
for (BasicBlock &BB : F) {
You can’t perform that action at this time.
0 commit comments