Skip to content

Commit 0e3490c

Browse files
committed
Moves the StateStack to IR folder from Support folder.
1 parent cd46354 commit 0e3490c

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

mlir/include/mlir/Support/StateStack.h renamed to mlir/include/mlir/IR/StateStack.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
//
1313
//===----------------------------------------------------------------------===//
1414

15-
#ifndef MLIR_SUPPORT_STACKFRAME_H
16-
#define MLIR_SUPPORT_STACKFRAME_H
15+
#ifndef MLIR_IR_STACKFRAME_H
16+
#define MLIR_IR_STACKFRAME_H
1717

1818
#include "mlir/IR/Visitors.h"
1919
#include "mlir/Support/TypeID.h"
@@ -125,4 +125,4 @@ struct isa_impl<T, ::mlir::StateStackFrame> {
125125
};
126126
} // namespace llvm
127127

128-
#endif // MLIR_SUPPORT_STACKFRAME_H
128+
#endif // MLIR_IR_STACKFRAME_H

mlir/include/mlir/Target/LLVMIR/ModuleTranslation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
#include "mlir/Dialect/LLVMIR/LLVMInterfaces.h"
1818
#include "mlir/IR/Operation.h"
19+
#include "mlir/IR/StateStack.h"
1920
#include "mlir/IR/SymbolTable.h"
2021
#include "mlir/IR/Value.h"
21-
#include "mlir/Support/StateStack.h"
2222
#include "mlir/Target/LLVMIR/Export.h"
2323
#include "mlir/Target/LLVMIR/LLVMTranslationInterface.h"
2424
#include "mlir/Target/LLVMIR/TypeToLLVM.h"

mlir/lib/IR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ add_mlir_library(MLIRIR
3232
PatternMatch.cpp
3333
Region.cpp
3434
RegionKindInterface.cpp
35+
StateStack.cpp
3536
SymbolTable.cpp
3637
TensorEncoding.cpp
3738
Types.cpp

mlir/lib/Support/StateStack.cpp renamed to mlir/lib/IR/StateStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
//
77
//===----------------------------------------------------------------------===//
88

9-
#include "mlir/Support/StateStack.h"
9+
#include "mlir/IR/StateStack.h"
1010

1111
namespace mlir {
1212

mlir/lib/Support/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ add_mlir_library(MLIRSupport
1111
FileUtilities.cpp
1212
InterfaceSupport.cpp
1313
RawOstreamExtras.cpp
14-
StateStack.cpp
1514
StorageUniquer.cpp
1615
Timing.cpp
1716
ToolUtilities.cpp

0 commit comments

Comments
 (0)