[Mlir-commits] [mlir] [mlir][tblgen] Don't echo absolute paths into rewrite pattern source (PR #168984)
Oleksandr Alex Zinenko
llvmlistbot at llvm.org
Fri Nov 21 00:07:57 PST 2025
ftynse wrote:
I think this is okay as long as we are not calling all of the files `Patterns.td` and just differentiate them by source tree paths. An alternative could be to try to somehow keep the path relative to the root of the source tree, e.g., by looking for `llvm-project/mlir`, though it's not guaranteed since the root directory name may change (I have multiple llvms for example).
https://github.com/llvm/llvm-project/pull/168984
More information about the Mlir-commits
mailing list