[PATCH] D80885: [VectorCombine] scalarizeBinop - support an all-constant src vector operand

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 31 10:38:15 PDT 2020


RKSimon updated this revision to Diff 267507.
RKSimon added a comment.

Bail for load+insertion for single op cases, or if we somehow fail to extract a constant a constant vector.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80885/new/

https://reviews.llvm.org/D80885

Files:
  llvm/lib/Transforms/Vectorize/VectorCombine.cpp
  llvm/test/Transforms/PhaseOrdering/X86/scalarization.ll
  llvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80885.267507.patch
Type: text/x-patch
Size: 44914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200531/b277ec0a/attachment.bin>


More information about the llvm-commits mailing list