[llvm] [Offload] Fix line numbers after #174804 (PR #174932)

Jan Patrick Lehr via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 8 03:10:44 PST 2026


jplehr wrote:

> I wonder if we really need to have a exact line numbers in all cases or we could get away using some wildcard in some of them. Seems likely to break again in the future in the current state :/

Yeah I was thinking about this each time I had to fix it. ;)
In certain cases that is probably possible, in other cases, we want to distinguish which region gets called out. And there it uses the region name, which contains the line number. So, if we have multiple regions, we potentially want to make sure it is the correct one.

In any case, if you have ideas on how to address this, you are more then welcome to share them.

https://github.com/llvm/llvm-project/pull/174932


More information about the llvm-commits mailing list