[PATCH] Don't unroll loops in loop vectorization pass when VF is one.

Wei Mi wmi at google.com
Mon Apr 20 22:06:37 PDT 2015


Update the patch to disable interleave in loop vectorizer when VF==1 only for x86 architecture. 
Update test/Transforms/LoopVectorize/X86/unroll-small-loops.ll.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9007

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  include/llvm/Analysis/TargetTransformInfoImpl.h
  include/llvm/CodeGen/BasicTTIImpl.h
  lib/Analysis/TargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  lib/Target/AArch64/AArch64TargetTransformInfo.h
  lib/Target/ARM/ARMTargetTransformInfo.h
  lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  lib/Target/PowerPC/PPCTargetTransformInfo.h
  lib/Target/R600/AMDGPUTargetTransformInfo.cpp
  lib/Target/R600/AMDGPUTargetTransformInfo.h
  lib/Target/X86/X86TargetTransformInfo.cpp
  lib/Target/X86/X86TargetTransformInfo.h
  lib/Transforms/Vectorize/LoopVectorize.cpp
  test/Transforms/LoopVectorize/X86/unroll-small-loops.ll
  test/Transforms/LoopVectorize/unroll.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9007.24098.patch
Type: text/x-patch
Size: 10282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/ae92f49a/attachment.bin>


More information about the llvm-commits mailing list