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: unassignedb...@nondot.org
          Reporter: dmitry.miku...@sony.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to