Skip to content

Commit

Permalink
Rename analysis files
Browse files Browse the repository at this point in the history
  • Loading branch information
odjuricicTT committed Nov 21, 2024
1 parent a17ac45 commit c4e3362
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/Dialect/TTNN/Analysis/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
add_mlir_dialect_library(MLIRTTNNAnalysis
LegalGridAnalysis.cpp
LegalLayoutAnalysis.cpp
OpConfigAnalysis.cpp
MemoryLayoutAnalysis.cpp
L1ChainConfig.cpp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

#include "ttmlir/Dialect/TTNN/Analysis/LegalGridAnalysis.h"
#include "ttmlir/Dialect/TTNN/Analysis/LegalLayoutAnalysis.h"
#include "ttmlir/Dialect/TT/IR/TTOpsTypes.h"
#include "ttmlir/Dialect/TTNN/IR/TTNN.h"
#include "ttmlir/Dialect/TTNN/IR/TTNNOps.h"
Expand Down Expand Up @@ -128,10 +128,6 @@ bool LegalLayoutAnalysis::applyOverrides() {
}

void LegalLayoutAnalysis::analysisImplementation() {
// A first incomplete implementation of the LegalGridAnalysis.
// This implementation is a placeholder and is meant to just enable testing of
// other components.

// Skip operations that don't have output tensors.
if (op->getNumResults() == 0) {
return;
Expand Down
2 changes: 1 addition & 1 deletion lib/Dialect/TTNN/Transforms/Optimizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "mlir/Analysis/Liveness.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/PatternMatch.h"
#include "ttmlir/Dialect/TTNN/Analysis/LegalGridAnalysis.h"
#include "ttmlir/Dialect/TTNN/Analysis/LegalLayoutAnalysis.h"
#include "ttmlir/Dialect/TTNN/Analysis/MemoryLayoutAnalysis.h"
#include "ttmlir/Dialect/TTNN/Analysis/OpConfigAnalysis.h"
#include "ttmlir/Dialect/TTNN/IR/TTNNOpsTypes.h"
Expand Down

0 comments on commit c4e3362

Please sign in to comment.