Skip to content

Commit 188ef3c

Browse files
committed
cleaned up a lot of loose ends
1 parent 3f6ab73 commit 188ef3c

File tree

8 files changed

+1
-166
lines changed

8 files changed

+1
-166
lines changed

flake.lock

Lines changed: 0 additions & 104 deletions
This file was deleted.

flake.nix

Lines changed: 0 additions & 44 deletions
This file was deleted.

mlir/include/mlir/Dialect/MPI/IR/MPI.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,8 @@
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

mlir/include/mlir/Dialect/MPI/IR/MPIBase.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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
}

mlir/include/mlir/Dialect/MPI/IR/MPIOps.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,6 @@
1010
#define MPI_OPS
1111

1212
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"
1913

2014
class MPI_Op<string mnemonic, list<Trait> traits = []> :
2115
Op<MPI_Dialect, mnemonic, traits>;

mlir/lib/Dialect/MPI/IR/MPIDialect.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@
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

1412
using namespace mlir;
1513
using namespace mlir::mpi;

mlir/lib/Dialect/MPI/IR/MPIOps.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//===----------------------------------------------------------------------===//
88

99
#include "mlir/Dialect/MPI/IR/MPI.h"
10-
#include "mlir/IR/Builders.h"
11-
#include "mlir/IR/FunctionImplementation.h"
1210

1311
using namespace mlir;
1412
using namespace mlir::mpi;

mlir/test/Dialect/MPI/ops.mlir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)