[llvm-bugs] [Bug 28134] New: Investigate introducing a bitcode block type for global variables

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jun 14 16:40:56 PDT 2016


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

            Bug ID: 28134
           Summary: Investigate introducing a bitcode block type for
                    global variables
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Bitcode Writer
          Assignee: unassignedbugs at nondot.org
          Reporter: peter at pcc.me.uk
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

We could potentially store initializers and attached metadata in a bitcode
block for global variables much like the existing block type for functions.
This would allow us to load global variable definitions lazily, which could
potentially improve lazy loading performance and allow us to remove the global
constants block.

However, there is a possibility that this would reduce data sharing, which
could regress overall performance. We should investigate this and figure out
whether it would be beneficial overall.

-- 
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/20160614/ae8f5715/attachment.html>


More information about the llvm-bugs mailing list