http://llvm.org/bugs/show_bug.cgi?id=2945
Summary: always-inline removes internal functions w/o always
inline attribute
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: minor
Priority: P2
Component: Interprocedural Optimizations
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Test case (attached):
--
; RUN: llvm-as < %s | opt -inline | llvm-dis | grep [EMAIL PROTECTED]
define internal i32 @foo() nounwind {
ret i32 0
}
--
This is blocking always running the always inline pass (or we should remove the
test for this from the GCC test suite). clang, for example, never ever emits
(trivially) unused static definitions.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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