http://llvm.org/bugs/show_bug.cgi?id=3549
Summary: extremelly slow -O2 compilation
Product: clang
Version: unspecified
Platform: PC
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
when compiling the attached test case I am getting these times:
lev /tmp$ time ccc -c parse.c
1.933u 0.081s 0:02.04 98.5% 22993+3509k 0+19io 0pf+0w
lev /tmp$ time ccc -c -g parse.c
2.647u 0.122s 0:02.85 96.8% 22070+3357k 0+30io 0pf+0w
ie. 2-3 seconds for plain build but
lev /tmp$ time ccc -c -O2 parse.c
467.364u 0.611s 8:07.90 95.9% 23927+3528k 0+20io 0pf+0w
thats over 8 minutes!
I dont know if the problem is in clang or llvm but top shows clang binary
running. this is with r64302, during the compilation the clang process took
~100MB
this is on amd64/freebsd
--
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