[PATCH] D111630: [LoopVectorize][CostModel] Update cost model for fmuladd intrinsic
Rosie Sumpter via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 14 09:11:43 PDT 2021
RosieSumpter updated this revision to Diff 379740.
RosieSumpter added a comment.
Created ##getFMulAddReductionCost##. This means the code which calculates the total cost of the fmuladd is moved out of the vectorizer, but avoids changing the interface for ##getArithmeticReductionCost##.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111630/new/
https://reviews.llvm.org/D111630
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
llvm/include/llvm/CodeGen/BasicTTIImpl.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
llvm/test/Transforms/LoopVectorize/AArch64/scalable-strict-fadd.ll
llvm/test/Transforms/LoopVectorize/AArch64/strict-fadd-cost.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111630.379740.patch
Type: text/x-patch
Size: 27594 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211014/ce956f00/attachment.bin>
More information about the llvm-commits
mailing list