http://llvm.org/bugs/show_bug.cgi?id=2272
Summary: Re-enable inlining at -O2 at above
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Interprocedural Optimizations
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
We've disabled inlining for llvm-gcc optimization level < 3 for now. There are
several reasons for this:
1. This matches gcc behavior so it would not be a surprise to users.
2. Some projects with buggy code, e.g. misuses of inline asm, expect to build
correctly at -O2 when inlining is off. We'll encourage users fixed these
projects.
3. Some gcc testsuites depend on this -O2 behavior. Some tests would otherwise
expose llvm bugs are masked by inlining. We should fix the testsuites.
4. llvm inlining default is too aggressive. At -O2, it should not turn on
optimization that will increase code size.
We should re-enable inlining at -O2 but with inlining threshold turned down.
--
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