http://llvm.org/bugs/show_bug.cgi?id=2744
Summary: 150x slowdown with llvm-gcc -O2 over -O1
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Created an attachment (id=1974)
--> (http://llvm.org/bugs/attachment.cgi?id=1974)
testcase
Attached is part of the preprocessed source for bash 3.2:
$ time llvm-gcc foo.c -O2 -c
real 3m33.351s
user 1m52.482s
sys 0m0.592s
$ time llvm-gcc foo.c -O1 -c
real 0m1.377s
user 0m0.652s
sys 0m0.014s
I'm not sure which pass is responsible. The problem doesn't occur with opt
-std-compile-opts.
--
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