Displaying 1 result from an estimated 1 matches for "my_ir".
Did you mean:
my_ip
2016 Mar 09
3
Where is opt spending its time?
...econds. If I write out the LLVM IR (just to prove that I am
generating it) then my compile time is 4 seconds. We're spending >90% of
the time in LLVM code generation.
To try to determine if there's anything I can do, I ran:
time /tools/llvm/3.7.1dbg/bin/opt -O1 -filetype=obj -o opt.o my_ir.ll
-time-passes
and I get:
===-------------------------------------------------------------------------===
... Pass execution timing report ...
===-------------------------------------------------------------------------===
Total Execution Time: 19.1382 seconds (19.1587 wa...