Skip to content
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

Backport fix to internalization in the Attributor. #50628

Closed
jhuber6 opened this issue Jul 30, 2021 · 4 comments
Closed

Backport fix to internalization in the Attributor. #50628

jhuber6 opened this issue Jul 30, 2021 · 4 comments
Labels
bugzilla Issues migrated from bugzilla openmp

Comments

@jhuber6
Copy link
Contributor

jhuber6 commented Jul 30, 2021

Bugzilla Link 51284
Resolution FIXED
Resolved on Oct 11, 2021 20:29
Version trunk
OS Linux
Blocks #51489
CC @tstellar
Fixed by commit(s) adbaa39 97851a0 6d04cd4 fd5ec45

Extended Description

The previous implementation of function internalization had an issue where the internal copies of functions were called by external versions. This didn't cleanly separate the internal and external code paths which resulted in IPO optimizations incorrectly mixing the two. This resulted in remarks being duplicated for any internalized function if they were enabled among other problems.

This was reviewd in https://reviews.llvm.org/D106931 and committed as adbaa39. A follow-up commit is necessary to fix a test that was failing on one of the built-bots: 97851a0.

@tstellar
Copy link
Collaborator

tstellar commented Aug 2, 2021

These don't cherry-pick cleanly, could someone create a git branch with these cherry-picked?

@tstellar
Copy link
Collaborator

tstellar commented Aug 2, 2021

These don't cherry-pick cleanly, could someone create a git branch with
these cherry-picked?

Nevermind, there was a stray comma in the fixed by commits field that cause the cherry-pick to fail.

@tstellar
Copy link
Collaborator

tstellar commented Aug 4, 2021

Merged: fd5ec45

@tstellar
Copy link
Collaborator

mentioned in issue #51489

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 11, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla openmp
Projects
None yet
Development

No branches or pull requests

2 participants