[PATCH] D132968: [TTI] Account for FMA opportunities in getArithmeticInstrCost.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 08:33:34 PDT 2022
fhahn updated this revision to Diff 456977.
fhahn added a comment.
Address latest comments, also add early exit to lambda to reduce indent, compare against FAdd cost as suggested by @dmgreen.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132968/new/
https://reviews.llvm.org/D132968
Files:
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Transforms/SLPVectorizer/AArch64/slp-fma-loss.ll
llvm/test/Transforms/SLPVectorizer/X86/slp-fma-loss.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132968.456977.patch
Type: text/x-patch
Size: 10016 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/e569a13a/attachment.bin>
More information about the llvm-commits
mailing list