Skip to content

Commit fea023b

Browse files
committed
Revert "[mlir] Add mlirTranslateModuleToLLVMIR to MLIR-C (#73117)"
Breaks https://lab.llvm.org/buildbot/#/builders/5/builds/38700 This reverts commit c43c885.
1 parent 0bdb9cb commit fea023b

File tree

8 files changed

+5
-170
lines changed

8 files changed

+5
-170
lines changed

mlir/include/mlir-c/Target/LLVMIR.h

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

mlir/lib/CAPI/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ add_subdirectory(Interfaces)
1414
add_subdirectory(IR)
1515
add_subdirectory(RegisterEverything)
1616
add_subdirectory(Transforms)
17-
add_subdirectory(Target)
1817

1918
if(MLIR_ENABLE_EXECUTION_ENGINE)
2019
add_subdirectory(ExecutionEngine)
@@ -37,3 +36,4 @@ if(MLIR_BUILD_MLIR_C_DYLIB)
3736
endif()
3837
endif()
3938
endif()
39+

mlir/lib/CAPI/Target/CMakeLists.txt

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

mlir/lib/CAPI/Target/LLVMIR.cpp

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

mlir/test/CAPI/CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,3 @@ _add_capi_test_executable(mlir-capi-transform-test
8585
MLIRCAPIRegisterEverything
8686
MLIRCAPITransformDialect
8787
)
88-
89-
_add_capi_test_executable(mlir-capi-translation-test
90-
translation.c
91-
LINK_LIBS PRIVATE
92-
MLIRCAPIIR
93-
MLIRCAPILLVM
94-
MLIRCAPIRegisterEverything
95-
MLIRCAPITarget
96-
)

mlir/test/CAPI/translation.c

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

mlir/test/CMakeLists.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
4545
message(FATAL_ERROR "MLIR_INCLUDE_INTEGRATION_TESTS requires a native target")
4646
endif()
4747

48-
# When the Integration tests are requested via the MLIR_INCLUDE_INTEGRATION_TESTS
49-
# configuration flag, we automatically include sm80 tests when build for
50-
# cuSparse when the configuration flag MLIR_ENABLE_CUDA_CUSPARSE is set and
51-
# include sm80 lt tests when the MLIR_ENABLE_CUDA_CUSPARSELT is set in
48+
# When the Integration tests are requested via the MLIR_INCLUDE_INTEGRATION_TESTS
49+
# configuration flag, we automatically include sm80 tests when build for
50+
# cuSparse when the configuration flag MLIR_ENABLE_CUDA_CUSPARSE is set and
51+
# include sm80 lt tests when the MLIR_ENABLE_CUDA_CUSPARSELT is set in
5252
# addition to those.
5353
if (MLIR_ENABLE_CUDA_CUSPARSE)
5454
set(MLIR_RUN_CUDA_SM80_TESTS ON)
@@ -101,7 +101,6 @@ set(MLIR_TEST_DEPENDS
101101
mlir-capi-quant-test
102102
mlir-capi-sparse-tensor-test
103103
mlir-capi-transform-test
104-
mlir-capi-translation-test
105104
mlir-linalg-ods-yaml-gen
106105
mlir-lsp-server
107106
mlir-pdll-lsp-server

mlir/test/lit.cfg.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ def add_runtime(name):
106106
"mlir-capi-quant-test",
107107
"mlir-capi-sparse-tensor-test",
108108
"mlir-capi-transform-test",
109-
"mlir-capi-translation-test",
110109
"mlir-cpu-runner",
111110
add_runtime("mlir_runner_utils"),
112111
add_runtime("mlir_c_runner_utils"),

0 commit comments

Comments
 (0)