-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[OpenMP][AArch64] Workaround for ompt/synchronization tests #75848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Do we test ompt on other os than Darwin/Linux? In any case, I suggest to drop the else case and therefore the whole check for os. Just allow any 1,2,3 instruction offset for aarch64. |
I think Windows. But I don't have a Windows on Arm system to check whether it works or not, unfortunately. |
The OMPT tests test the codeptr address for plausibility. The main goal is to test that the codeptr does not point to a completely other part of the code (e.g. a frame nested in the runtime call). For a precise testing, we would need to involve debug information and check whether we can successfully map back the codeptr address to the source code line. At the same time, this approach would allow to test the quality of debug information generated by the compiler. |
Right, so I think it makes sense to just drop the OS check for now. I'll re-sbumit the PR. |
You can just push a fix to your branch. The PR will be squashed at the end. |
ompt/synchronization/[masked.c | master.c] tests fail due to a wrong offset being calculated for the possible return addreses. PR llvm#65936 fixes this for Darwin and the same has to be done for Linux. Updates llvm#69627
bb1b49b
to
113f0c9
Compare
Done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
ompt/synchronization/[masked.c | master.c] tests fail due to a wrong offset being calculated for the possible return addreses. PR #65936 fixes this for Darwin and the same has to be done for Linux.
Updates #69627