http://llvm.org/bugs/show_bug.cgi?id=8535
Summary: opt -O3 silently ignores -inline-threshold setting
Product: tools
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: opt
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
The -inline-threshold argument is quite confusing when running opt:
"opt -O2" / "opt -O3" ignores it silently, and uses fixed values of 200 /
250.
"opt -std-compile-opts" respects -inline-threshold.
I think that opt -O2 / -O3 should use the same default inlining threshold as
clang/llvm-gcc while still allowing the threshold to be overridden with
-inline-threshold.
Also, clang and llvm-gcc use 225 for -O2 and 275 for -O3 now.
--
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