Skip to content

Commit

Permalink
clean affine from tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
usainzg committed Oct 28, 2024
1 parent 599e12b commit 19ad2d6
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 161 deletions.
32 changes: 0 additions & 32 deletions lib/Transform/Affine/AffineFullUnroll.cpp

This file was deleted.

15 changes: 0 additions & 15 deletions lib/Transform/Affine/AffineFullUnroll.h

This file was deleted.

45 changes: 0 additions & 45 deletions lib/Transform/Affine/AffineFullUnrollPatternRewrite.cpp

This file was deleted.

15 changes: 0 additions & 15 deletions lib/Transform/Affine/AffineFullUnrollPatternRewrite.h

This file was deleted.

36 changes: 0 additions & 36 deletions lib/Transform/Affine/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -48,47 +48,11 @@ cc_library(
],
)

# cc_library(
# name = "AffineFullUnroll",
# srcs = ["AffineFullUnroll.cpp"],
# hdrs = [
# "AffineFullUnroll.h",
# "Passes.h",
# ],
# deps = [
# ":pass_inc_gen",
# "@llvm-project//mlir:AffineDialect",
# "@llvm-project//mlir:AffineUtils",
# "@llvm-project//mlir:FuncDialect",
# "@llvm-project//mlir:Pass",
# "@llvm-project//mlir:Transforms",
# ],
# )

# cc_library(
# name = "AffineFullUnrollPatternRewrite",
# srcs = ["AffineFullUnrollPatternRewrite.cpp"],
# hdrs = [
# "AffineFullUnrollPatternRewrite.h",
# "Passes.h",
# ],
# deps = [
# ":pass_inc_gen",
# "@llvm-project//mlir:AffineDialect",
# "@llvm-project//mlir:AffineUtils",
# "@llvm-project//mlir:FuncDialect",
# "@llvm-project//mlir:Pass",
# "@llvm-project//mlir:Transforms",
# ],
# )

cc_library(
name = "Passes",
hdrs = ["Passes.h"],
deps = [
"AffineDistributeToMPI",
# ":AffineFullUnroll",
# ":AffineFullUnrollPatternRewrite",
":pass_inc_gen",
],
)
2 changes: 0 additions & 2 deletions lib/Transform/Affine/Passes.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
#define LIB_TRANSFORM_AFFINE_PASSES_H_

#include "lib/Transform/Affine/AffineDistributeToMPI.h"
// #include "lib/Transform/Affine/AffineFullUnroll.h"
// #include "lib/Transform/Affine/AffineFullUnrollPatternRewrite.h"

namespace mlir {
namespace tutorial {
Expand Down
16 changes: 0 additions & 16 deletions lib/Transform/Affine/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,6 @@

include "mlir/Pass/PassBase.td"

// def AffineFullUnroll : Pass<"affine-full-unroll"> {
// let summary = "Fully unroll all affine loops";
// let description = [{
// Fully unroll all affine loops.
// }];
// let dependentDialects = ["mlir::affine::AffineDialect"];
// }

// def AffineFullUnrollPatternRewrite : Pass<"affine-full-unroll-rewrite"> {
// let summary = "Fully unroll all affine loops using the pattern rewrite engine";
// let description = [{
// Fully unroll all affine loops using the pattern rewrite engine.
// }];
// let dependentDialects = ["mlir::affine::AffineDialect"];
// }

def AffineDistributeToMPI : Pass<"affine-distribute-to-mpi"> {
let summary = "Distribute affine loops to MPI processes";
let description = [{
Expand Down

0 comments on commit 19ad2d6

Please sign in to comment.