Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

# llvm-external-projects
/llvm-external-projects/ @stellaraccident
/llvm-external-projects/iree-dialects/ @MaheshRavishankar

# Other Top-Level Directories
/docs/ @ScottTodd
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_linux_arm64_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ jobs:
# (For now) QEMU is required to run tests with SME
IREE_ARM_SME_QEMU_AARCH64_BIN: /usr/bin/qemu-aarch64
run: ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"
- name: Test iree-dialects
run: ./build_tools/cmake/test_iree_dialects.sh "${BUILD_DIR}"

- name: Post to Discord on Failure
uses: sarisia/actions-status-discord@eb045afee445dc055c18d3d90bd0f244fd062708 # v1.16.0
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/ci_linux_x64_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,5 @@ jobs:
run: ./build_tools/cmake/ctest_all.sh "${BUILD_DIR}"
env:
CTEST_PARALLEL_LEVEL: 32
- name: Test iree-dialects
run: ./build_tools/cmake/test_iree_dialects.sh "${BUILD_DIR}"

# Alerting on failure is the responsibility of the calling job.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ artifacts/
# VS Code DevContainer
.devcontainer/docker-compose.yml

# Local cache files
llvm-external-projects/iree-dialects/.cache

# pkgci artifacts
artifacts/

Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -942,11 +942,6 @@ else()

# Add external projects.

message(STATUS "Configuring llvm-external-projects/mlir-iree-dialects")
list(APPEND CMAKE_MESSAGE_INDENT " ")
iree_llvm_add_external_project(mlir-iree-dialects ${CMAKE_CURRENT_SOURCE_DIR}/llvm-external-projects/iree-dialects)
list(POP_BACK CMAKE_MESSAGE_INDENT)

if(IREE_INPUT_STABLEHLO)
message(STATUS "Configuring third_party/stablehlo")
list(APPEND CMAKE_MESSAGE_INDENT " ")
Expand Down
6 changes: 0 additions & 6 deletions build_tools/bazel_to_cmake/bazel_to_cmake_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,6 @@ def _convert_iree_cuda_target(self, target):
label = target.rsplit(":")[-1]
return [f"iree_cuda::{label}"]

def _convert_iree_dialects_target(self, target):
# Just take the target name as-is.
return [target.rsplit(":")[-1]]

def _convert_to_cmake_path(self, bazel_path_fragment: str) -> str:
cmake_path = bazel_path_fragment
# Bazel `//iree/base` -> CMake `iree::base`
Expand Down Expand Up @@ -282,8 +278,6 @@ def convert_target(self, target):

def _convert_iree_core_target(self, target):
iree_core_repo = self._repo_alias("@iree_core")
if target.startswith(f"{iree_core_repo}//llvm-external-projects/iree-dialects"):
return self._convert_iree_dialects_target(target)

# IREE root paths map to package names based on explicit rules.
# * src/iree/ directories (compiler/src/iree/ and runtime/src/iree/)
Expand Down
4 changes: 0 additions & 4 deletions build_tools/cmake/build_and_test_asan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,4 @@ ctest \
--label-exclude "${label_exclude_regex}"
echo "::endgroup::"

echo "::group::Running llvm-external-projects tests"
cmake --build . --target check-iree-dialects -- -k 0
echo "::endgroup::"

popd
4 changes: 0 additions & 4 deletions build_tools/cmake/build_and_test_ubsan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,3 @@ export IREE_HIP_DISABLE=1
echo "::group::Running tests"
build_tools/cmake/ctest_all.sh "${BUILD_DIR}"
echo "::endgroup::"

echo "::group::Running llvm-external-projects tests"
cmake --build "${BUILD_DIR?}" --target check-iree-dialects -- -k 0
echo "::endgroup::"
17 changes: 0 additions & 17 deletions build_tools/cmake/test_iree_dialects.sh

This file was deleted.

5 changes: 0 additions & 5 deletions compiler/bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ set(_PYTHON_INSTALL_PREFIX "python_packages/iree_compiler")
include_directories(
"${IREE_SOURCE_DIR}/compiler/src"
"${IREE_SOURCE_DIR}/compiler/bindings/c"
"${IREE_SOURCE_DIR}/llvm-external-projects/iree-dialects/include"
"${IREE_SOURCE_DIR}/third_party/llvm-project/mlir/include"
"${IREE_SOURCE_DIR}/third_party/stablehlo/include"
"${IREE_SOURCE_DIR}/third_party/stablehlo"
Expand Down Expand Up @@ -260,10 +259,6 @@ set(_SOURCE_COMPONENTS
MLIRPythonSources.Dialects.transform.interpreter
MLIRPythonSources.Dialects.vector
MLIRPythonSources.Dialects.vector_transform

# iree-dialects project.
IREEDialectsPythonExtensions
IREEDialectsPythonSources
)

add_mlir_python_modules(IREECompilerPythonModules
Expand Down
3 changes: 0 additions & 3 deletions compiler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,9 +503,6 @@ def find_git_submodule_revision(submodule_path):
},
ext_modules=[
CMakeExtension("iree.compiler._mlir_libs._mlir", py_limited_api=_is_abi3_build),
CMakeExtension(
"iree.compiler._mlir_libs._ireeDialects", py_limited_api=_is_abi3_build
),
# TODO: MHLO has been broken for a while so disabling. If re-enabling,
# it also needs to be enabled on the build side.
# CMakeExtension("iree.compiler._mlir_libs._mlirHlo"),
Expand Down
8 changes: 3 additions & 5 deletions compiler/src/iree/compiler/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ A few paths of interest include:
Noteworthy compiler components _not_ included here include:

```
├── compiler/plugins/
│ └── input/ (Input dialect support plugins)
│ └── target/ (HAL target backend plugins)
└── llvm-external-projects/
└── iree-dialects/ (IREE dialects for other projects to target)
└── compiler/plugins/
└── input/ (Input dialect support plugins)
└── target/ (HAL target backend plugins)
```

Additional input/target/etc. plugins may also be defined out-of-tree.
Expand Down
1 change: 0 additions & 1 deletion docs/api_docs/python/compiler/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,5 @@ Compiler API
tools.rst
build.rst
mlir.rst
iree_dialects.rst
iree_input_dialect.rst
mlir_dialects.rst
18 changes: 0 additions & 18 deletions docs/api_docs/python/compiler/iree_dialects.rst

This file was deleted.

7 changes: 3 additions & 4 deletions docs/website/generate_extra_files.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ BUILD_DIR="${BUILD_DIR:-${REPO_ROOT}/build-docs}"
source ${REPO_ROOT}/build_tools/cmake/setup_build.sh
source ${REPO_ROOT}/build_tools/cmake/setup_ccache.sh

# Build `iree-doc` and `iree-dialects-doc` CMake targets. This requires the LLVM
# submodule and can take several minutes with an empty cache, as it builds
# `iree-tblgen` and `mlir-tblgen`.
# Build the `iree-doc` CMake target. This requires the LLVM submodule and can
# take several minutes with an empty cache, as it builds `iree-tblgen` and
# `mlir-tblgen`.
cmake -G Ninja \
-B "${BUILD_DIR}" "${REPO_ROOT}" \
-DIREE_BUILD_DOCS=ON
cmake --build "${BUILD_DIR}" --target iree-doc
cmake --build "${BUILD_DIR}" --target iree-dialects-doc

if (( IREE_USE_CCACHE == 1 )); then
ccache --show-stats
Expand Down
3 changes: 0 additions & 3 deletions llvm-external-projects/iree-dialects/.clang-format

This file was deleted.

80 changes: 0 additions & 80 deletions llvm-external-projects/iree-dialects/.clang-tidy

This file was deleted.

1 change: 0 additions & 1 deletion llvm-external-projects/iree-dialects/.gitignore

This file was deleted.

70 changes: 0 additions & 70 deletions llvm-external-projects/iree-dialects/BUILD.bazel

This file was deleted.

Loading