[PATCH] D61189: [X86][SSE] Extract i1 elements from vXi1 bool vectors

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 29 04:18:09 PDT 2019


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

Updated version, which actually looks pretty similar to D59669 <https://reviews.llvm.org/D59669>.....

I'm performing all the extractions at the same time and only combining if (a) there are only extractions using the source vector and (b) there's more than 1 extract (I'd like to remove this limitation in the future).

The big difference is D59669 <https://reviews.llvm.org/D59669> tries to limit to setcc usage only, which with our new SimplifyDemandedBits support is probably unnecessary.

@spatel How do you want to proceed with this + D59669 <https://reviews.llvm.org/D59669>?


Repository:
  rL LLVM

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

https://reviews.llvm.org/D61189

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/bitcast-vector-bool.ll
  test/CodeGen/X86/bool-vector.ll
  test/CodeGen/X86/movmsk-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61189.197084.patch
Type: text/x-patch
Size: 15745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190429/95e4c699/attachment.bin>


More information about the llvm-commits mailing list