[PATCH] D57779: [SLP] Add support for throttling.

Dinar Temirbulatov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 25 19:15:42 PDT 2019


dtemirbulatov updated this revision to Diff 217068.
dtemirbulatov added a comment.

Fixed regression issue on 401.bzip2 and others. This was due to deciding to vectorize the whole tree(not partially) while revisiting seeds for partial vectorization. Fixed at line 3789.
Here are Spec 2006 INT results:
before:
400.perlbench    9770        249       39.3 *
401.bzip2        9650        311       31.1 *
403.gcc          8050        191       42.1 *
429.mcf          9120        217       42.0 *
445.gobmk       10490        330       31.8 *
456.hmmer        9330        267       35.0 *
458.sjeng       12100        394       30.7 *
462.libquantum  20720        241       85.9 *
464.h264ref     22130        334       66.2 *
471.omnetpp      6250        249       25.1 *
473.astar        7020        284       24.7 *
483.xalancbmk    6900        170       40.7 *
 Est. SPECint(R)_base2006              38.5
 Est. SPECint2006                                                   Not Run

after:
400.perlbench    9770        249       39.2 *
401.bzip2        9650        311       31.1 *
403.gcc          8050        190       42.3 *
429.mcf          9120        218       41.9 *
445.gobmk       10490        329       31.9 *
456.hmmer        9330        266       35.0 *
458.sjeng       12100        391       31.0 *
462.libquantum  20720        241       86.1 *
464.h264ref     22130        329       67.3 *
471.omnetpp      6250        249       25.1 *
473.astar        7020        284       24.7 *
483.xalancbmk    6900        169       40.7 *
 Est. SPECint(R)_base2006              38.6
 Est. SPECint2006                                                   Not Run

Note the 429.mcf runtime is different by accident, the actual checksum of binary is the same. Sorry, @lebedev.ri  I will use test-suite/utils/compare.py next time.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57779/new/

https://reviews.llvm.org/D57779

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/crash_cmpop.ll
  test/Transforms/SLPVectorizer/X86/crash_mandeltext.ll
  test/Transforms/SLPVectorizer/X86/lookahead.ll
  test/Transforms/SLPVectorizer/X86/slp-throttle.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57779.217068.patch
Type: text/x-patch
Size: 38736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190826/95e1a55b/attachment.bin>


More information about the llvm-commits mailing list