Skip to content

Commit 23ccc05

Browse files
committed
[mlir] Remove the dependency of StdToLLVM on LoopToStd
This is a leftover of a temporary state where loop operations were in Standard dialect.
1 parent 9dfcddf commit 23ccc05

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

mlir/lib/Conversion/StandardToLLVM/CMakeLists.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ add_llvm_library(MLIRStandardToLLVM
77
add_dependencies(
88
MLIRStandardToLLVM
99

10-
MLIRLoopToStandard
1110
MLIRLLVMIR
1211
MLIRTransforms
1312
LLVMCore
@@ -16,7 +15,6 @@ add_dependencies(
1615
target_link_libraries(
1716
MLIRStandardToLLVM
1817

19-
MLIRLoopToStandard
2018
MLIRLLVMIR
2119
MLIRTransforms
2220
LLVMCore

mlir/lib/Conversion/StandardToLLVM/ConvertStandardToLLVM.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
#include "mlir/Conversion/StandardToLLVM/ConvertStandardToLLVM.h"
1515
#include "mlir/ADT/TypeSwitch.h"
16-
#include "mlir/Conversion/LoopToStandard/ConvertLoopToStandard.h"
1716
#include "mlir/Conversion/StandardToLLVM/ConvertStandardToLLVMPass.h"
1817
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
1918
#include "mlir/Dialect/StandardOps/Ops.h"
@@ -2239,7 +2238,6 @@ struct LLVMLoweringPass : public ModulePass<LLVMLoweringPass> {
22392238
return signalPassFailure();
22402239

22412240
OwningRewritePatternList patterns;
2242-
populateLoopToStdConversionPatterns(patterns, m.getContext());
22432241
patternListFiller(*typeConverter, patterns);
22442242

22452243
ConversionTarget target(getContext());

0 commit comments

Comments
 (0)