[PATCH] D67311: [X86] Add prefer-128-bit subtarget feature.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 6 21:37:53 PDT 2019


craig.topper created this revision.
craig.topper added reviewers: RKSimon, echristo, spatel, atdt.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

Similar to the previous prefer-256-bit flag. We might want to
enable this by default some CPUs. This just starts the initial
work to implement and prove that it effects TTI's vector width.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D67311

Files:
  llvm/lib/Target/X86/X86.td
  llvm/lib/Target/X86/X86Subtarget.cpp
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/test/Transforms/SLPVectorizer/X86/arith-add.ll
  llvm/test/Transforms/SLPVectorizer/X86/arith-fp.ll
  llvm/test/Transforms/SLPVectorizer/X86/arith-mul.ll
  llvm/test/Transforms/SLPVectorizer/X86/arith-sub.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67311.219221.patch
Type: text/x-patch
Size: 10332 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190907/196f5c1b/attachment.bin>


More information about the llvm-commits mailing list