summaryrefslogtreecommitdiff
path: root/mlir/test/Dialect/Transform/include/Library
AgeCommit message (Collapse)Author
2023-10-19Reapply "[mlir][transform] Support symlinks in module loading. Reorganize ↵Ingo Müller
tests. (#69329)" This reverts commit c122b9727a2766e0dafb599d1535f1af264f56f0 but fixes tests that were added between submitting #69329 for review and landing it for the first time.
2023-10-19Revert "[mlir][transform] Support symlinks in module loading. Reorganize ↵Ingo Müller
tests. (#69329)" This reverts commit f68122570091445a63a18eb45e4ad3d0015b3070. That commit changed the organization of the tests of the transform dialect interpreter but did not take into account some tests that were added in the meantime.
2023-10-19[mlir][transform] Support symlinks in module loading. Reorganize tests. (#69329)Ingo Müller
A recent commit (#69190) broke the bazel builds. Turns out that Bazel uses symlinks for providing the test files, which the path expansion of the module loading mechanism did not handle correctly. This PR fixes that. It also reorganizes the tests better: It puts all `.mlir` files that are included by some other test into a common `include` folder. This greatly simplifies the definition of the dependencies between the different `.mlir` files in Bazel's `BUILD` file. The commit also adds a comment to all included files why these aren't tested themselves direclty and uses the `%{fs-sep}` expansion for paths more consistently. Finally, it uncomments all but one of the tests excluded in Bazel because they seem to run now. (The remaining one includes a file that it itself a test, so it would have to live *in* and *outside* of the `include` folder.)