Location information was not correctly propagated when creating OpenACC
operations. This patch propagate the correct location information from
the parse tree nodes to OpenACC MLIR operations.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Looks great!
I double-checked that you don't have any more converter.getCurrentLocation() calls. The line numbers in the test match what I expected.
One thing missing in the test is clause location testing - is it possible to add to test that an expression from an "if" clause gets correct line and offset?
Comment Actions
Thank you for adding the line number functionality and testing for the clause expressions. Looks great!