[Mlir-commits] [mlir] [mlir] Report line number from file rather than split (PR #150982)
Jacques Pienaar
llvmlistbot at llvm.org
Thu Jul 31 00:54:15 PDT 2025
jpienaar wrote:
> Is it the expected behavior after the change?
Yes, so what was previously happening is it was (due to implicit top level Module) inserting a top level op at the point of the split that you were matching against (hence -2, -3). Now the errors are wrt to the file. So either 1) introduce a module op that the error would be reported on, 2) change offset to be to top of file and deduplicate. I think (1) is better.
https://github.com/llvm/llvm-project/pull/150982
More information about the Mlir-commits
mailing list