Displaying 3 results from an estimated 3 matches for "sha1test".
Did you mean:
sdatest
2012 Jul 20
1
[LLVMdev] LLVM compile speed significantly slower than GCC (w/ test case)
...ng git hash
>> 9d9cf5...) - With -O0: 110ms, with -O2: 640ms
Hi Matt,
I only see 2x slowdown on my machine (consistently, O2 and O3), but
that's still bad.
If you compile to IR then pass "opt -time-passes" you can get a good
idea who the culprit is:
$ clang -O0 -S -emit-llvm sha1test.c
$ opt -time-passes -O2 sha1test.s
(...)
---User Time--- --System Time-- --User+System-- ---Wall
Time--- --- Name ---
0.2720 ( 54.0%) 0.0000 ( 0.0%) 0.2720 ( 53.5%) 0.2821 (
52.8%) Combine redundant instructions
0.1160 ( 23.0%) 0.0000 ( 0.0%) 0.1160 ( 22.8%) 0.1162 (...
2012 Jul 19
4
[LLVMdev] LLVM compile speed significantly slower than GCC (w/ test case)
...dence of some problem that's broad
enough to improve the compile speed of a wide variety of files. If
anybody is interested in investigating the discrepancy, though, I'd
love to hear about it.
Thanks,
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha1test.c
Type: text/x-csrc
Size: 9173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120719/0acd4224/attachment.c>
2012 Jul 19
0
[LLVMdev] LLVM compile speed significantly slower than GCC (w/ test case)
...effect on
> other files, or if this is evidence of some problem that's broad
> enough to improve the compile speed of a wide variety of files. If
> anybody is interested in investigating the discrepancy, though, I'd
> love to hear about it.
>
> Thanks,
> Matt
> <sha1test.c>_______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev