Repository navigation
Conversation
Removes 10 deprecated lit tests in compiler/src/iree/compiler/Codegen/Common/test/ that rely on the retired transform.iree.match_callback op (and the register_match_callbacks / take_first / emit_remark machinery in llvm-external-projects/iree-dialects) which is being retired per iree-org#24466. Deleted files: - transform_ops_invalid.mlir - transform_match_partial_reduction.mlir - repeated_matcher_use.mlir - reductions_match_spec.mlir - reductions_codegen_spec.mlir - convolution_match_spec.mlir - batch_matmul_match_spec.mlir - batch_matmuls.mlir (only RUN line invoked the deleted spec) - convolutions.mlir (only RUN line invoked the deleted spec) - reductions.mlir (only RUN lines invoked the deleted specs) Updated BUILD.bazel and CMakeLists.txt to drop the corresponding srcs, exclude, and data entries. Part of iree-org#24466. Signed-off-by: Alex-Wengg <[email protected]>
Alex-Wengg
requested review from
MaheshRavishankar,
Max191,
hanhanW and
qedawkins
as code owners
May 15, 2026 18:09
Alex-Wengg
marked this pull request as draft
May 15, 2026 18:10
Alex-Wengg
marked this pull request as ready for review
May 15, 2026 18:13
RattataKing
pushed a commit
to RattataKing/iree
that referenced
this pull request
May 27, 2026
…-org#24500) Part of iree-org#24466 (sub-task: remove deprecated tests under `compiler/src/iree/compiler/Codegen/Common/test/`). Removes 10 lit tests that depend on the retired `transform.iree.match_callback` op and its supporting machinery (`register_match_callbacks`, `take_first`, `emit_remark`) from `llvm-external-projects/iree-dialects`. - 7 files use the deprecated op directly - 3 driver tests (`batch_matmuls.mlir`, `convolutions.mlir`, `reductions.mlir`) have RUN lines that only invoke the deleted `*_spec.mlir` files - `BUILD.bazel` and `CMakeLists.txt` updated to drop matching srcs/exclude/data entries - Net diff: 12 files changed, 933 deletions(-), 0 insertions(+) - No remaining source-tree references to the deleted files Signed-off-by: Alex-Wengg <[email protected]>
Alex-Wengg
added a commit
to Alex-Wengg/iree
that referenced
this pull request
May 27, 2026
…ee-org#24466) Relocate ErrorCheckingTrackingListener into Codegen/Common (namespace mlir::iree_compiler) and repoint its users in the Common and LLVMGPU transform extensions. Drop the StructuredTransformOpsExtension registration and includes from CommonDialectRegistration and Interfaces: its transform ops (transform.iree.register_match_callbacks/match_callback/take_first/emit_remark) have no production users and their tests were removed in iree-org#24500. Build deps are updated accordingly. Progress toward retiring the iree-dialects dependency. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Alex-Wengg
added a commit
to Alex-Wengg/iree
that referenced
this pull request
May 28, 2026
…ee-org#24466) Relocate ErrorCheckingTrackingListener into Codegen/Common (namespace mlir::iree_compiler) and repoint its users in the Common and LLVMGPU transform extensions. Drop the StructuredTransformOpsExtension registration and includes from CommonDialectRegistration and Interfaces: its transform ops (transform.iree.register_match_callbacks/match_callback/take_first/emit_remark) have no production users and their tests were removed in iree-org#24500. Build deps are updated accordingly. Progress toward retiring the iree-dialects dependency.
Alex-Wengg
added a commit
to Alex-Wengg/iree
that referenced
this pull request
May 28, 2026
…ee-org#24466) Relocate ErrorCheckingTrackingListener into Codegen/Common (namespace mlir::iree_compiler) and repoint its users in the Common and LLVMGPU transform extensions. Drop the StructuredTransformOpsExtension registration and includes from CommonDialectRegistration and Interfaces: its transform ops (transform.iree.register_match_callbacks/match_callback/take_first/emit_remark) have no production users and their tests were removed in iree-org#24500. Build deps are updated accordingly. Progress toward retiring the iree-dialects dependency. Signed-off-by: Han || Alex <[email protected]>
Alex-Wengg
added a commit
to Alex-Wengg/iree
that referenced
this pull request
May 28, 2026
…ee-org#24466) Relocate ErrorCheckingTrackingListener into Codegen/Common (namespace mlir::iree_compiler) and repoint its users in the Common and LLVMGPU transform extensions. Drop the StructuredTransformOpsExtension registration and includes from CommonDialectRegistration and Interfaces: its transform ops (transform.iree.register_match_callbacks/match_callback/take_first/emit_remark) have no production users and their tests were removed in iree-org#24500. Build deps are updated accordingly. Progress toward retiring the iree-dialects dependency. Signed-off-by: Han || Alex <[email protected]>
Alex-Wengg
added a commit
to Alex-Wengg/iree
that referenced
this pull request
Jun 5, 2026
…ee-org#24466) Relocate ErrorCheckingTrackingListener into Codegen/Common (namespace mlir::iree_compiler) and repoint its users in the Common and LLVMGPU transform extensions. Drop the StructuredTransformOpsExtension registration and includes from CommonDialectRegistration and Interfaces: its transform ops (transform.iree.register_match_callbacks/match_callback/take_first/emit_remark) have no production users and their tests were removed in iree-org#24500. Build deps are updated accordingly. Progress toward retiring the iree-dialects dependency. Signed-off-by: Han || Alex <[email protected]>
AGindinson
pushed a commit
that referenced
this pull request
Jun 19, 2026
…alects (#24466) (#24543) Closes #24466 (retire the `llvm-external-projects/iree-dialects` dependency). Relocates the last two pieces of code that still depended on the NFC directory. Finishing Tasks 1 & 4. - **[GlobalOpt] Reimplements the softmax matcher within `GlobalOptimization/`. Adds `arith.maximumf` support to account for SHLO decompositions. - **[Codegen] Move ErrorCheckingTrackingListener** into `Codegen/Common/` and de-register `StructuredTransformOpsExtension` from `CommonDialectRegistration` and `Interfaces`. Continuation of #24500. - Removes llvm-external-projects/iree-dialects as a whole ## Testing Built and lit tested locally on Windows 11 + MSVC 14.44 (VS 2022 Community), Ninja, CMake 3.29, Release with assertions, `IREE_TARGET_BACKEND_LLVM_CPU=ON`. All changed files compile cleanly. The softmax lit test `compiler/src/iree/compiler/GlobalOptimization/test/raise_special_ops.mlir` passed. all three variants (`@softmax`, `@softmax_no_rcp`, `@softmax_broadcast`) match correctly through the relocated `makeSoftmaxMatcher`. --------- Signed-off-by: Han || Alex <[email protected]> Signed-off-by: Alex-Wengg <[email protected]>
9 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #24466 (sub-task: remove deprecated tests under
compiler/src/iree/compiler/Codegen/Common/test/).Removes 10 lit tests that depend on the retired
transform.iree.match_callbackop and its supporting machinery (register_match_callbacks,take_first,emit_remark) fromllvm-external-projects/iree-dialects.batch_matmuls.mlir,convolutions.mlir,reductions.mlir) have RUN lines that only invoke the deleted*_spec.mlirfilesBUILD.bazelandCMakeLists.txtupdated to drop matching srcs/exclude/data entries