[PATCH] D37357: [x86] eliminate redundant shuffle of horizontal math ops when both inputs are the same

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 06:24:05 PDT 2017


spatel updated this revision to Diff 113535.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:

1. Take ArrayRef by value rather than ref.
2. Add TODO about checking more shuffle masks (h-op matching doesn't currently work for the listed cases, so it probably doesn't make sense to add those unless/until we fix that).


https://reviews.llvm.org/D37357

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/haddsub-shuf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37357.113535.patch
Type: text/x-patch
Size: 7363 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170901/2e27d6f0/attachment.bin>


More information about the llvm-commits mailing list