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"
12#include " mlir/Dialect/LLVMIR/NVVMDialect.h"
23#include " mlir/IR/BuiltinAttributes.h"
34#include " triton/Conversion/TritonGPUToLLVM/PatternTritonGPUOpToLLVM.h"
45#include " triton/Conversion/TritonGPUToLLVM/Utility.h"
56
6- namespace mlir {
7- FailureOr<LLVM::LLVMFuncOp>
8- convertFuncOpToLLVMFuncOp (FunctionOpInterface funcOp,
9- ConversionPatternRewriter &rewriter,
10- const LLVMTypeConverter &converter);
11- }
12-
137namespace {
148
159using namespace mlir ;
Original file line number Diff line number Diff line change 11#include " TritonAMDGPUToLLVM/Passes.h"
2+ #include " llvm/IR/IRBuilder.h"
23#include " llvm/IR/Instructions.h"
34#include " llvm/IR/PatternMatch.h"
45#include " llvm/IR/Verifier.h"
@@ -79,7 +80,7 @@ struct ScalarizePackedFOps : FunctionPass {
7980 ScalarizePackedFOps () : FunctionPass(ID) {}
8081
8182 bool runOnFunction (Function &F) override {
82- IRBuilder builder (F.getContext ());
83+ IRBuilder<> builder (F.getContext ());
8384 bool changed = false ;
8485 SmallVector<Instruction *> instsToErase;
8586 for (BasicBlock &BB : F) {
You can’t perform that action at this time.
0 commit comments