Issue |
81728
|
Summary |
llvm-17: huge compile time and ll-file size
|
Labels |
new issue
|
Assignees |
|
Reporter |
sidtvera
|
[quark.17.x64.ii.gz](https://github.com/llvm/llvm-project/files/14279009/quark.17.x64.ii.gz)
```
$ time clang-17 -x c -w -O1 quark.17.x64.ii -S -emit-llvm -o quark.17.x64.O1.ll
user 1m21,823s
$ time clang-17 -x c -w -O0 quark.17.x64.ii -S -emit-llvm -o quark.17.x64.O0.ll
user 0m0,087s
$ time clang-14 -x c -w -O1 quark.17.x64.ii -S -emit-llvm -o quark.14.x64.O1.ll
user 0m1,404s
$ ls -lh
175K quark.17.x64.ii
2,1M quark.14.x64.O1.ll
474K quark.17.x64.O0.ll
56M quark.17.x64.O1.ll
```
While clang-14 produces ll-file with size 2M, clang-17 produces ll-file with size 56M (25 times more) and a compile time is increased a very much. At first sight, some optimization increases a number of edges in control flow graph and makes very many value sources for phi-nodes.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs