[PATCH] D111968: [TTI] Add OperandValueProperties::OP_NegatedPowerOf2 enum

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 20 05:56:28 PDT 2021


RKSimon updated this revision to Diff 380920.
RKSimon edited the summary of this revision.
RKSimon added a comment.

Add X86 mul by -pow2 handling


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111968.380920.patch
Type: text/x-patch
Size: 524175 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211020/bcde9bf7/attachment-0001.bin>


More information about the llvm-commits mailing list