[PATCH] D88570: [TargetLowering] SimplifyDemandedBits EXTRACT_VECTOR_ELT -> constant

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 07:13:11 PDT 2020


foad created this revision.
foad added reviewers: RKSimon, nikic, craig.topper, spatel.
Herald added subscribers: llvm-commits, hiraditya.
Herald added a project: LLVM.
foad requested review of this revision.

If all bits of the the extracted element are known, simplify it to a
constant.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88570

Files:
  llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
  llvm/test/CodeGen/AArch64/arm64-nvcast.ll
  llvm/test/CodeGen/AArch64/arm64-promote-const-complex-initializers.ll
  llvm/test/CodeGen/ARM/func-argpassing-endian.ll
  llvm/test/CodeGen/X86/2011-10-19-widen_vselect.ll
  llvm/test/CodeGen/X86/2012-07-10-extload64.ll
  llvm/test/CodeGen/X86/fold-load-vec.ll
  llvm/test/CodeGen/X86/nontemporal-3.ll
  llvm/test/CodeGen/X86/pr41619.ll
  llvm/test/CodeGen/X86/vec_zero_cse.ll
  llvm/test/CodeGen/X86/vector-shuffle-combining.ll
  llvm/test/CodeGen/X86/widen_shuffle-1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88570.295271.patch
Type: text/x-patch
Size: 27818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200930/002ab109/attachment.bin>


More information about the llvm-commits mailing list