[PATCH] D132966: [TTI] Allow passing ArrayRef of context instructions (NFC).

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 12:41:01 PDT 2022


fhahn created this revision.
fhahn added reviewers: ABataev, spatel, RKSimon, wjschmidt, dmgreen.
Herald added subscribers: pengfei, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added a project: LLVM.

TTI-based alternative to D132872 <https://reviews.llvm.org/D132872>.

This is to allow the SLP vectorizer to pass extra context instructions
for a vector bundle.

This patch just adds the plumbing, follow-up patches linked in the stack
actually make use of the new functionality.

See discussion at D132872 <https://reviews.llvm.org/D132872>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D132966

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.h
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132966.456761.patch
Type: text/x-patch
Size: 11234 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220830/9b2b4cf9/attachment.bin>


More information about the llvm-commits mailing list