https://bugs.llvm.org/show_bug.cgi?id=44356
Bug ID: 44356
Summary: [Compile Time] 35% spent in GVN
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Created attachment 22957
--> https://bugs.llvm.org/attachment.cgi?id=22957&action=edit
testcases in compressed tar file
This csmith program is more than 2x compile time than gcc (even with
-disable-phi-elim-edge-splitting):
time gcc -O3: 25s
time clang -O3 -march=z13 crash6.i -o a.out -w -c -mllvm
-disable-phi-elim-edge-splitting -ftime-report
user 1m8.106s
Global Value Numbering 35%
I tried to reduce the test case with creduce, and got about 80% size reduction.
GVN is still dominating the compile time, which is now less than one second.
clang -O3 -march=z13 tc_GVN_CTime.i -o a.out -w -c
user 0m0.784s
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs