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

            Bug ID: 21206
           Summary: inline removes a member 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

Similar to pr21191, but for inline.

$ cat test.ll
$c = comdat any
define linkonce_odr void @foo() comdat $c {
  ret void
}
define linkonce_odr void @bar() comdat $c {
  ret void
}
define void()* @zed()  {
  ret void()* @foo
}
$ opt -inline -S test.ll -o - 
; ModuleID = 'test.ll'

$c = comdat any

define linkonce_odr void @foo() comdat $c {
  ret void
}

define void ()* @zed() {
  ret void ()* @foo
}

-- 
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