This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Fix missing nop after call to weak callee. (llvm 10.x)
AbandonedPublic

Authored by abebeos on Jan 6 2021, 10:40 AM.

Details

Reviewers
stefanp
NeHuang
nemanjai
lei
power-llvm-team
lhames
Group Reviewers
Restricted Project
Summary

Authored by stefanp on Tue, Dec 8, 6:57 AM.

Original Patch: https://reviews.llvm.org/D91983

Backported to llvm-10.x, in order to remove dormant bug within:

https://github.com/numba/numba/issues/6606

llvm-testsuite on Power8 HW went fine.

(meta: Phabricator revisions are quite fine. But I have no idea how to select a target-branch, which would be 10.x, to see some builds&tests...)

Diff Detail

Event Timeline

abebeos created this revision.Jan 6 2021, 10:40 AM
abebeos requested review of this revision.Jan 6 2021, 10:40 AM
abebeos edited the summary of this revision. (Show Details)Jan 6 2021, 10:52 AM
abebeos added reviewers: Restricted Project, power-llvm-team.
abebeos edited the summary of this revision. (Show Details)Jan 6 2021, 11:34 AM

@abebeos Unfortunately there is no method for us to backport this to LLVM 10.x. Older releases are not maintained. There is typically a single point release for bug fixes after every major release and we have unfortunately missed the deadline for 11.0.1 with this so it will only be in 12.0.0.
Is it possible to maintain this patch as a necessary fix for LLVM 10 in Numba?

@abebeos Unfortunately there is no method for us to backport this to LLVM 10.x. Older releases are not maintained. There is typically a single point release for bug fixes after every major release and we have unfortunately missed the deadline for 11.0.1 with this so it will only be in 12.0.0.

Oh, I see!

Is it possible to maintain this patch as a necessary fix for LLVM 10 in Numba?

Yes I guess, I created already a PR: https://github.com/numba/llvmlite/pull/684

The other problem I have is that I still need a confirmation that the patch is valid (I validated with llvm and numba testsuites on PowerPC HW, but have no confirmation from an insider or a public testsuite).

btw: edelsohn@github asked for your feedback here: btw: https://github.com/numba/numba/issues/4026#issuecomment-752241417

@abebeos Unfortunately there is no method for us to backport this to LLVM 10.x. Older releases are not maintained. There is typically a single point release for bug fixes after every major release and we have unfortunately missed the deadline for 11.0.1 with this so it will only be in 12.0.0.

[...]

The other problem I have is that I still need a confirmation that the patch is valid (I validated with llvm and numba testsuites on PowerPC HW, but have no confirmation from an insider or a public testsuite).

Essentially, the patch is minimal anyways, kind of "keep it safer, at the possible cost of a redundant nop).

In any way, I understand that this can be closed as "can't fix" / "won't fix" (did not find a way to close it myself).

abebeos abandoned this revision.Jan 13 2021, 11:44 PM

Patch not applicable, closing