llvm-project/llvm/test/Transforms/SLPVectorizer/AArch64
Adam Nemet 0aca09fc6c [SLP] Emit optimization remarks
The approach I followed was to emit the remark after getTreeCost concludes
that SLP is profitable.  I initially tried emitting them after the
vectorizeRootInstruction calls in vectorizeChainsInBlock but I vaguely
remember missing a few cases for example in HorizontalReduction::tryToReduce.

ORE is placed in BoUpSLP so that it's available from everywhere (notably
HorizontalReduction::tryToReduce).

We use the first instruction in the root bundle as the locator for the remark.
In order to get a sense how far the tree is spanning I've include the size of
the tree in the remark.  This is not perfect of course but it gives you at
least a rough idea about the tree.  Then you can follow up with -view-slp-tree
to really see the actual tree.

llvm-svn: 302811
2017-05-11 17:06:17 +00:00
..
commute.ll
gather-reduce.ll [TTI] Add hook for vector extract with extension 2016-04-27 15:20:21 +00:00
gather-root.ll [AArch64] Enable use of reduction intrinsics. 2017-05-10 15:15:38 +00:00
getelementptr.ll [SLP] Emit optimization remarks 2017-05-11 17:06:17 +00:00
horizontal.ll [SLP] Emit optimization remarks 2017-05-11 17:06:17 +00:00
lit.local.cfg
load-store-q.ll
minimum-sizes.ll Reapply commit r259357 with a fix for PR26629 2016-02-18 14:14:40 +00:00
mismatched-intrinsics.ll
nontemporal.ll
remarks.ll [SLP] Emit optimization remarks 2017-05-11 17:06:17 +00:00
sdiv-pow2.ll