Skip to content

Commit 991d04d

Browse files
committed
Revert "[NFC][TableGen][GlobalISel] Move MIR Pattern Parsing out of Combiner Impl (#80257)"
This reverts commit cfa0833.
1 parent 722db78 commit 991d04d

File tree

7 files changed

+466
-624
lines changed

7 files changed

+466
-624
lines changed

llvm/utils/TableGen/GlobalISel/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@ set(LLVM_LINK_COMPONENTS
55

66
add_llvm_library(LLVMTableGenGlobalISel STATIC OBJECT EXCLUDE_FROM_ALL
77
CodeExpander.cpp
8-
CombinerUtils.cpp
98
CXXPredicates.cpp
109
MatchDataInfo.cpp
11-
PatternParser.cpp
1210
Patterns.cpp
1311
$<TARGET_OBJECTS:obj.LLVMTableGenCommon>
1412

@@ -18,6 +16,6 @@ add_llvm_library(LLVMTableGenGlobalISel STATIC OBJECT EXCLUDE_FROM_ALL
1816

1917
# Users may include its headers as "GlobalISel/*.h"
2018
target_include_directories(LLVMTableGenGlobalISel
21-
PUBLIC
19+
INTERFACE
2220
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/..>
2321
)

llvm/utils/TableGen/GlobalISel/CombinerUtils.cpp

Lines changed: 0 additions & 23 deletions
This file was deleted.

llvm/utils/TableGen/GlobalISel/CombinerUtils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,6 @@ inline const DagInit *getDagWithOperatorOfSubClass(const Init &N,
6565
return I;
6666
return nullptr;
6767
}
68-
69-
/// Copies a StringRef into a static pool to preserve it.
70-
StringRef insertStrRef(StringRef S);
71-
7268
} // namespace llvm
7369

7470
#endif

0 commit comments

Comments
 (0)