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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to