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 9
9
#define MLIR_DIALECT_MPI_IR_MPI_H_
10
10
11
11
#include " mlir/IR/Dialect.h"
12
- #include " mlir/IR/FunctionInterfaces.h"
13
12
#include " mlir/IR/OpDefinition.h"
14
13
#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"
20
14
21
15
// ===----------------------------------------------------------------------===//
22
16
// MPIDialect
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ def MPI_Dialect : Dialect {
21
21
eventual goal, it is not guaranteed at this juncture. Given the early state,
22
22
it is recommended to inquire further prior to using this dialect.
23
23
}];
24
- let dependentDialects = ["arith::ArithDialect"];
25
24
26
25
let usePropertiesForAttributes = 1;
27
26
}
Original file line number Diff line number Diff line change 10
10
#define MPI_OPS
11
11
12
12
include "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"
19
13
20
14
class MPI_Op<string mnemonic, list<Trait> traits = []> :
21
15
Op<MPI_Dialect, mnemonic, traits>;
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===----------------------------------------------------------------------===//
8
8
9
- #include " mlir/Dialect/Arith/IR/Arith.h"
10
9
#include " mlir/Dialect/MPI/IR/MPI.h"
11
10
#include " mlir/IR/DialectImplementation.h"
12
- #include " llvm/ADT/TypeSwitch.h"
13
11
14
12
using namespace mlir ;
15
13
using namespace mlir ::mpi;
Original file line number Diff line number Diff line change 7
7
// ===----------------------------------------------------------------------===//
8
8
9
9
#include " mlir/Dialect/MPI/IR/MPI.h"
10
- #include " mlir/IR/Builders.h"
11
- #include " mlir/IR/FunctionImplementation.h"
12
10
13
11
using namespace mlir ;
14
12
using namespace mlir ::mpi;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ func.func @mpi_test(%ref : memref<100xf32>) -> () {
5
5
// CHECK: mpi.init
6
6
mpi.init
7
7
8
- // CHECK: mpi.comm_rank
8
+ // CHECK: mpi.comm_rank : i32
9
9
%rank = mpi.comm_rank : i32
10
10
11
11
// CHECK: mpi.send %arg0 : memref<100xf32>, %0 : i32, %0 : i32
You can’t perform that action at this time.
0 commit comments