File tree Expand file tree Collapse file tree 8 files changed +1
-166
lines changed
include/mlir/Dialect/MPI/IR Expand file tree Collapse file tree 8 files changed +1
-166
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99#define MLIR_DIALECT_MPI_IR_MPI_H_
1010
1111#include " mlir/IR/Dialect.h"
12- #include " mlir/IR/FunctionInterfaces.h"
1312#include " mlir/IR/OpDefinition.h"
1413#include " mlir/IR/OpImplementation.h"
15- #include " mlir/IR/RegionKindInterface.h"
16- #include " mlir/IR/SymbolTable.h"
17- #include " mlir/Interfaces/CallInterfaces.h"
18- #include " mlir/Interfaces/ControlFlowInterfaces.h"
19- #include " mlir/Interfaces/SideEffectInterfaces.h"
2014
2115// ===----------------------------------------------------------------------===//
2216// MPIDialect
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ def MPI_Dialect : Dialect {
2121 eventual goal, it is not guaranteed at this juncture. Given the early state,
2222 it is recommended to inquire further prior to using this dialect.
2323 }];
24- let dependentDialects = ["arith::ArithDialect"];
2524
2625 let usePropertiesForAttributes = 1;
2726}
Original file line number Diff line number Diff line change 1010#define MPI_OPS
1111
1212include "mlir/Dialect/MPI/IR/MPIBase.td"
13- include "mlir/Interfaces/CallInterfaces.td"
14- include "mlir/Interfaces/ControlFlowInterfaces.td"
15- include "mlir/Interfaces/SideEffectInterfaces.td"
16- include "mlir/IR/FunctionInterfaces.td"
17- include "mlir/IR/RegionKindInterface.td"
18- include "mlir/IR/SymbolInterfaces.td"
1913
2014class MPI_Op<string mnemonic, list<Trait> traits = []> :
2115 Op<MPI_Dialect, mnemonic, traits>;
Original file line number Diff line number Diff line change 66//
77// ===----------------------------------------------------------------------===//
88
9- #include " mlir/Dialect/Arith/IR/Arith.h"
109#include " mlir/Dialect/MPI/IR/MPI.h"
1110#include " mlir/IR/DialectImplementation.h"
12- #include " llvm/ADT/TypeSwitch.h"
1311
1412using namespace mlir ;
1513using namespace mlir ::mpi;
Original file line number Diff line number Diff line change 77// ===----------------------------------------------------------------------===//
88
99#include " mlir/Dialect/MPI/IR/MPI.h"
10- #include " mlir/IR/Builders.h"
11- #include " mlir/IR/FunctionImplementation.h"
1210
1311using namespace mlir ;
1412using namespace mlir ::mpi;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ func.func @mpi_test(%ref : memref<100xf32>) -> () {
55 // CHECK: mpi.init
66 mpi.init
77
8- // CHECK: mpi.comm_rank
8+ // CHECK: mpi.comm_rank : i32
99 %rank = mpi.comm_rank : i32
1010
1111 // CHECK: mpi.send %arg0 : memref<100xf32>, %0 : i32, %0 : i32
You can’t perform that action at this time.
0 commit comments