[PATCH] D109927: [WIP][TLI] SimplifyDemandedVectorElts(): for `OR`, don't demand elements that are known to be all-ones in another operand

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 16 14:28:41 PDT 2021


lebedev.ri created this revision.
lebedev.ri added a reviewer: RKSimon.
Herald added subscribers: pengfei, hiraditya.
lebedev.ri requested review of this revision.
Herald added a project: LLVM.

This is a suggestion from https://reviews.llvm.org/D109726#3004107, although it does not work.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D109927

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/X86/insertelement-ones.ll
  llvm/test/CodeGen/X86/vshift-6.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109927.373073.patch
Type: text/x-patch
Size: 6093 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210916/9e7ad1f2/attachment.bin>


More information about the llvm-commits mailing list