[PATCH] D125987: [SLP] Account for cost of removing FMA opportunities

Bill Schmidt via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 14 14:34:05 PDT 2022


wjschmidt updated this revision to Diff 436946.
wjschmidt retitled this revision from "[SLP] Account for cost of removing FMA opportunities by horizontal reduction" to "[SLP] Account for cost of removing FMA opportunities".
wjschmidt added a comment.

Rebased; fixed pasto in getFMACostSavings(); ensured that getFMACostSavings() returns nonnegative values; and made a slight simplification in adjustForFMAs().  Thanks!


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

https://reviews.llvm.org/D125987

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Transforms/Vectorize/SLPVectorizer.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/slp-fma-loss.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125987.436946.patch
Type: text/x-patch
Size: 9120 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220614/95673e3b/attachment.bin>


More information about the llvm-commits mailing list