[PATCH] D42044: X86: Utilize ZeroableElements for canWidenShuffleElements

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 8 16:37:59 PDT 2018


zvi updated this revision to Diff 141575.
zvi added a comment.

- Rebase
- Simplify the creation of the shuffle by only modifying the widened mask to take all zeros from the all-zero operand.


Repository:
  rL LLVM

https://reviews.llvm.org/D42044

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/2012-04-26-sdglue.ll
  test/CodeGen/X86/avx-cast.ll
  test/CodeGen/X86/vector-shuffle-256-v32.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42044.141575.patch
Type: text/x-patch
Size: 7979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180408/9fee8c83/attachment.bin>


More information about the llvm-commits mailing list