Skip to content

Commit

Permalink
[fme-apply] Remove unused passes (#13975)
Browse files Browse the repository at this point in the history
This commit removes unused passes.

ONE-DCO-1.0-Signed-off-by: seongwoo <[email protected]>
  • Loading branch information
mhs4670go authored Sep 10, 2024
1 parent 5a02570 commit 2693ed2
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 1,481 deletions.
10 changes: 0 additions & 10 deletions compiler/fme-apply/src/FMEqualizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@
#include "FMEqualizer.h"
#include "InsertScaleShift.h"
#include "EqualizePatternCheck.h"
#include "pass/ForwardPreScalePass.h"
#include "pass/ForwardPreShiftPass.h"
#include "pass/FusePostScalePass.h"
#include "pass/FusePostShiftPass.h"
#include "pass/FusePreScalePass.h"
#include "pass/FusePreShiftPass.h"
#include "ProgressReporter.h"

#include <luci/IR/CircleNode.h>
Expand Down Expand Up @@ -82,15 +78,9 @@ void FMEqualizer::equalize(loco::Graph *g, const std::vector<EqualizePattern> &p
phase.emplace_back(std::make_unique<luci::CircleShapeInferencePass>());
phase.emplace_back(std::make_unique<luci::CircleTypeInferencePass>());

// Forward PreScale/PreShift
phase.emplace_back(std::make_unique<fme_apply::ForwardPreScalePass>());
phase.emplace_back(std::make_unique<fme_apply::ForwardPreShiftPass>());

// Fuse Pre/Post Scale/Shift
phase.emplace_back(std::make_unique<fme_apply::FusePreScalePass>());
phase.emplace_back(std::make_unique<fme_apply::FusePostScalePass>());
phase.emplace_back(std::make_unique<fme_apply::FusePreShiftPass>());
phase.emplace_back(std::make_unique<fme_apply::FusePostShiftPass>());

ProgressReporter prog(g, logo::PhaseStrategy::Restart);
logo::PhaseRunner<logo::PhaseStrategy::Restart> phase_runner{g};
Expand Down
95 changes: 0 additions & 95 deletions compiler/fme-apply/src/pass/ForwardPreScalePass.cpp

This file was deleted.

53 changes: 0 additions & 53 deletions compiler/fme-apply/src/pass/ForwardPreScalePass.h

This file was deleted.

179 changes: 0 additions & 179 deletions compiler/fme-apply/src/pass/ForwardPreScalePass.test.cpp

This file was deleted.

Loading

0 comments on commit 2693ed2

Please sign in to comment.