[PATCH] D15537: limit the number of instructions per block examined by dead store elimination

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 11 08:58:18 PDT 2016


tejohnson added a subscriber: tejohnson.
tejohnson added a comment.

Any update on this patch? I have an internal source file for which DSE is taking an inordinate amount of time:

  1427.7928 ( 99.9%)   0.1237 ( 61.0%)  1427.9166 ( 99.9%)  1428.6744 ( 99.9%)  Dead Store Elimination
   ...
  1428.8521 (100.0%)   0.2030 (100.0%)  1429.0551 (100.0%)  1429.8275 (100.0%)  Total

Applying this patch reduces this immensely:

  17.7091 ( 94.3%)   0.0123 ( 14.7%)  17.7214 ( 93.9%)  17.7251 ( 93.8%)  Dead Store Elimination
   ...
  18.7871 (100.0%)   0.0837 (100.0%)  18.8707 (100.0%)  18.8947 (100.0%)  Total


http://reviews.llvm.org/D15537





More information about the llvm-commits mailing list