[llvm-bugs] [Bug 35252] New: Assert lowering CFI type test

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 8 11:52:37 PST 2017


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

            Bug ID: 35252
           Summary: Assert lowering CFI type test
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: dmitry.mikulin at sony.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 19388
  --> https://bugs.llvm.org/attachment.cgi?id=19388&action=edit
repro test case

This is an issue related to PR35201 fix.
To reproduce:
opt test.ll -lowertypetests -o test.o

It appears that when a struct containing function pointers has more that one
field initialized with the same ftpr, replacing uses cannot handle the second
use of the fptr. The UseList contains all uses of the pointer, but since the
user is the same structure, an attempt to replace operands the second time
fails.

-- 
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/20171108/8349dce8/attachment-0001.html>


More information about the llvm-bugs mailing list