[LLVMdev] really long time to compile
Chris Lattner
sabre at nondot.org
Sat Dec 14 15:25:01 PST 2002
> Can anyone suggest any reasons why this seemingly-innocuous (though
> stupid-looking) excerpt from gnu fileutils 4.1 would make llvm-gcc
> go so incredibly slowly? It doesn't seem to be a question of the
> size of the output.
I'll look into it. That is a very, uh, interesting code snippet :)
-Chris
> Here's what I do:
>
> % time llvm-gcc -c sha24.c
> 56.840u 0.050s 1:07.05 84.8% 0+0k 0+0io 1050pf+0w
> % ls -l sha24.o
> -rw-r--r-- 1 brg brg 5784 2002-12-14 07:43 sha24.o
>
> The problem goes away if I use -S:
>
> % time llvm-gcc -S sha24.c
> 0.060u 0.010s 0:00.09 77.7% 0+0k 0+0io 548pf+0w
>
>
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-dev
mailing list