Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Jan 6, 2025
1 parent 61acb52 commit fa93aab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions enzyme/Enzyme/MLIR/Passes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ add_mlir_dialect_library(MLIREnzymeTransforms
SimplifyMath.cpp
AddToOpToIndexAndLoad.cpp
AddToOpToSplit.cpp
RemovalUtils.cpp
RemoveUnusedEnzymeOps.cpp
SimplifyMemrefCache.cpp
Utils.cpp
Expand Down
3 changes: 2 additions & 1 deletion enzyme/Enzyme/MLIR/Passes/EnzymeMLIRPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ struct DifferentiatePass : public DifferentiatePassBase<DifferentiatePass> {

registry
.insert<mlir::arith::ArithDialect, mlir::complex::ComplexDialect,
mlir::cf::ControlFlowDialect, mlir::tensor::TensorDialect>();
mlir::cf::ControlFlowDialect, mlir::tensor::TensorDialect,
mlir::enzyme::EnzymeDialect>();
}

static std::vector<DIFFE_TYPE> mode_from_fn(FunctionOpInterface fn,
Expand Down
1 change: 1 addition & 0 deletions enzyme/Enzyme/MLIR/Passes/Passes.td
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def DifferentiatePass : Pass<"enzyme"> {
"complex::ComplexDialect",
"cf::ControlFlowDialect",
"tensor::TensorDialect",
"enzyme::EnzymeDialect",
];
let options = [
Option<
Expand Down

0 comments on commit fa93aab

Please sign in to comment.