[PATCH] D152600: [InstCombine] Add target option to bail scalarization

Hendrik Greving via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 18:04:33 PDT 2023


hgreving created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
hgreving requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Adds a TTI option to consider scalarization unprofitable for
targets that prefer vector code to stay vectorized.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D152600

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/Transforms/InstCombine/InstCombiner.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Transforms/InstCombine/InstCombineVectorOps.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152600.530125.patch
Type: text/x-patch
Size: 7380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230610/1db132fa/attachment.bin>


More information about the llvm-commits mailing list