[llvm-bugs] [Bug 37510] New: RewriteStatepointsForGC don't relocate aggregate members

via llvm-bugs llvm-bugs at lists.llvm.org
Thu May 17 13:37:34 PDT 2018


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

            Bug ID: 37510
           Summary: RewriteStatepointsForGC don't relocate aggregate
                    members
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Scalar Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: r.hl at gmx.net
                CC: llvm-bugs at lists.llvm.org

It seems that the RewriteStatepointsForGC pass doesn't relocate pointer members
of an aggregate SSA value that would otherwise, as top-level SSA values, be
relocated. This is rather surprising and should probably be fixed, since the
pointer can not be reached otherwise, and so could be invalidated by the next
function call.

-- 
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/20180517/4036ddf6/attachment.html>


More information about the llvm-bugs mailing list