[LLVMbugs] [Bug 20981] New: globaldce change the members of a comdat

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 17 13:09:27 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20981

            Bug ID: 20981
           Summary: globaldce change the members of a comdat
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Interprocedural Optimizations
          Assignee: unassignedbugs at nondot.org
          Reporter: rafael.espindola at gmail.com
                CC: david.majnemer at gmail.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Given
--------------------------------
$c1 = comdat any
@a1 = linkonce_odr alias void ()* @f1
define void @f1() comdat $c1 {
  ret void
}
-------------------------------

globaldce produces

-------------------------
$c1 = comdat any
define void @f1() comdat $c1 {
  ret void
}
---------------------------

The c1 comdat is not missing a1 now.

-- 
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/20140917/a2570296/attachment.html>


More information about the llvm-bugs mailing list