[PATCH] Improve Cost model for SLPVectorizer when we have a vector division by power of 2

Karthik Bhat kv.bhat at samsung.com
Thu Aug 21 07:57:26 PDT 2014


Hi Andrea,
Thanks for clarifying my doubts. Updated the patch as per review comments and ran clang format.
I will try to handle vectorization of division by non constant pow of 2 seperatly in another patch.
Please let me know your opinion on the same.

Thanks and Regards
Karthik Bhat

http://reviews.llvm.org/D4971

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/CodeGen/BasicTargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  lib/Target/ARM/ARMTargetTransformInfo.cpp
  lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  lib/Target/X86/X86TargetTransformInfo.cpp
  lib/Transforms/Vectorize/LoopVectorize.cpp
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/LoopVectorize/X86/powof2div.ll
  test/Transforms/SLPVectorizer/X86/powof2div.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4971.12780.patch
Type: text/x-patch
Size: 23647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140821/f9199e31/attachment.bin>


More information about the llvm-commits mailing list