[llvm-bugs] [Bug 9956] [DSE] [InstCombine] Compiling a single file with optimizations on takes > 10 minutes

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Mar 25 04:47:27 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=9956

Florian Hahn <florian_hahn at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |florian_hahn at apple.com
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Florian Hahn <florian_hahn at apple.com> ---
This completes in ~15s on recent hardware. The imbalance is much smaller and
DSE does not stick out hugely any more. There is still a problem with DSE on
huge basic blocks, but the code here does not really show the issue.

===-------------------------------------------------------------------------===
                      ... Pass execution timing report ...
===-------------------------------------------------------------------------===
  Total Execution Time: 14.4792 seconds (14.5075 wall clock)

   ---User Time---   --System Time--   --User+System--   ---Wall Time---  ---
Name ---
   3.7700 ( 27.2%)   0.0082 (  1.4%)   3.7782 ( 26.1%)   3.7885 ( 26.1%)  Dead
Store Elimination
   3.1398 ( 22.6%)   0.4919 ( 81.6%)   3.6317 ( 25.1%)   3.6369 ( 25.1%) 
Global Variable Optimizer #2
   2.1581 ( 15.6%)   0.0111 (  1.8%)   2.1692 ( 15.0%)   2.1718 ( 15.0%) 
Function Integration/Inlining
   1.1521 (  8.3%)   0.0032 (  0.5%)   1.1553 (  8.0%)   1.1580 (  8.0%)  Dead
Global Elimination
   1.1421 (  8.2%)   0.0030 (  0.5%)   1.1451 (  7.9%)   1.1466 (  7.9%)  Dead
Global Elimination #2
   0.4032 (  2.9%)   0.0050 (  0.8%)   0.4082 (  2.8%)   0.4085 (  2.8%) 
Combine redundant instructions

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190325/213f895e/attachment.html>


More information about the llvm-bugs mailing list