[llvm-bugs] [Bug 51284] New: Backport fix to internalization in the Attributor.

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 30 12:38:56 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51284

            Bug ID: 51284
           Summary: Backport fix to internalization in the Attributor.
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenMP
          Assignee: unassignedclangbugs at nondot.org
          Reporter: huberjn at ornl.gov
                CC: llvm-bugs at lists.llvm.org
            Blocks: 51236

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
adbaa39dfce7a8361d89b6a3b382fd8f50b94727. A follow-up commit is necessary to
fix a test that was failing on one of the built-bots:
97851a08e2684388dec24fbe46818704052f9dbe.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=51236
[Bug 51236] [meta] 13.0.0 Release Blockers
-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210730/1ea223fc/attachment.html>


More information about the llvm-bugs mailing list