http://llvm.org/bugs/show_bug.cgi?id=21191
Bug ID: 21191
Summary: globalopt 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
This is similar to pr20981, but with globalopt:
-------------------------------------------------
$ 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() {
call void @foo()
ret void
}
$ ./build-patch/bin/opt -globalopt -S test.ll -o -
; ModuleID = 'test.ll'
$c = comdat any
define linkonce_odr void @foo() comdat $c {
ret void
}
define void @zed() {
call void @foo()
ret void
}
---------------------------------------------
Note that bar has been removed.
--
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