[PATCH] D25691: [DAGCombiner] Add vector demanded elements support to computeKnownBits

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 04:17:11 PDT 2016


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

Improved index checking for EXTRACT_SUBVECTOR and EXTRACT_VECTOR_ELT.

Use APInt::[] bit getter instead of doing it manually.

Use APInt::setBit bit setter instead of doing it manually.


Repository:
  rL LLVM

https://reviews.llvm.org/D25691

Files:
  include/llvm/CodeGen/SelectionDAG.h
  lib/CodeGen/SelectionDAG/SelectionDAG.cpp
  test/CodeGen/X86/avx-vperm2x128.ll
  test/CodeGen/X86/avx512-regcall-NoMask.ll
  test/CodeGen/X86/known-bits-vector.ll
  test/CodeGen/X86/sse-regcall.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25691.75123.patch
Type: text/x-patch
Size: 15814 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161019/7fb4afd4/attachment.bin>


More information about the llvm-commits mailing list