Skip to content

Commit af86f42

Browse files
committed
move to analysis directory
1 parent 9269aee commit af86f42

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

mlir/include/mlir/IR/SliceWalk.h renamed to mlir/include/mlir/Analysis/SliceWalk.h

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

9-
#ifndef MLIR_IR_SLICEWALK_IR
10-
#define MLIR_IR_SLICEWALK_IR
9+
#ifndef MLIR_ANALYSIS_SLICEWALK_IR
10+
#define MLIR_ANALYSIS_SLICEWALK_IR
1111

1212
#include "mlir/IR/ValueRange.h"
1313

@@ -95,4 +95,4 @@ std::optional<SmallVector<Value>> getControlFlowPredecessors(Value value);
9595

9696
} // namespace mlir
9797

98-
#endif // MLIR_IR_SLICEWALK_IR
98+
#endif // MLIR_ANALYSIS_SLICEWALK_IR

mlir/lib/Analysis/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ add_mlir_library(MLIRAnalysis
2929
Liveness.cpp
3030
CFGLoopInfo.cpp
3131
SliceAnalysis.cpp
32+
SliceWalk.cpp
3233
TopologicalSortUtils.cpp
3334

3435
AliasAnalysis/LocalAliasAnalysis.cpp

mlir/lib/IR/SliceWalk.cpp renamed to mlir/lib/Analysis/SliceWalk.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "mlir/IR/SliceWalk.h"
1+
#include "mlir/Analysis/SliceWalk.h"
22
#include "mlir/Interfaces/ControlFlowInterfaces.h"
33

44
using namespace mlir;

mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
//===----------------------------------------------------------------------===//
1313

1414
#include "mlir/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.h"
15+
#include "mlir/Analysis/SliceWalk.h"
1516
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
1617
#include "mlir/IR/Matchers.h"
17-
#include "mlir/IR/SliceWalk.h"
1818
#include "mlir/Interfaces/DataLayoutInterfaces.h"
1919
#include "mlir/Transforms/InliningUtils.h"
2020
#include "llvm/ADT/ScopeExit.h"

mlir/lib/IR/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ add_mlir_library(MLIRIR
3232
PatternMatch.cpp
3333
Region.cpp
3434
RegionKindInterface.cpp
35-
SliceWalk.cpp
3635
SymbolTable.cpp
3736
TensorEncoding.cpp
3837
Types.cpp

0 commit comments

Comments
 (0)