[PATCH] D79341: [TTI] getScalarizationOverhead - use explicit VectorType operand

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 4 10:44:03 PDT 2020


RKSimon created this revision.
RKSimon added reviewers: samparker, spatel, ctetreau, arsenm, uweigand, craig.topper.
Herald added subscribers: hiraditya, wdng.
Herald added a project: LLVM.

getScalarizationOverhead is only ever called with vectors (and we already had a load of cast<VectorType> calls immediately inside the functions

Followup to D78357 <https://reviews.llvm.org/D78357>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D79341

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/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79341.261864.patch
Type: text/x-patch
Size: 22356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/bb3305de/attachment.bin>


More information about the llvm-commits mailing list