[PATCH] D111968: [TTI] Add OperandValueProperties::OP_NegatedPowerOf2 enum
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 20 07:43:57 PDT 2021
RKSimon updated this revision to Diff 380953.
RKSimon added a comment.
udiv/urem by -pow2 isn't as simple as shift/mask - fallback to the existing x86 udiv/urem by constant costs
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111968/new/
https://reviews.llvm.org/D111968
Files:
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/lib/Analysis/TargetTransformInfo.cpp
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/lib/Target/X86/X86TargetTransformInfo.cpp
llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
llvm/test/Analysis/CostModel/AArch64/div.ll
llvm/test/Analysis/CostModel/AArch64/rem.ll
llvm/test/Analysis/CostModel/X86/div.ll
llvm/test/Analysis/CostModel/X86/mul.ll
llvm/test/Analysis/CostModel/X86/rem.ll
llvm/test/Transforms/SLPVectorizer/X86/powof2mul.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111968.380953.patch
Type: text/x-patch
Size: 377725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211020/e9239cf7/attachment-0001.bin>
More information about the llvm-commits
mailing list