[PATCH] D50952: [X86] Add support for matching paddus patterns where one of the vectors is a constant.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 19 18:24:32 PDT 2018


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.

InstCombine mucks these up a bit. So we need to do some additional pattern matching to fix it. There are a still a few special cases not handled, but this covers the general case.


Repository:
  rL LLVM

https://reviews.llvm.org/D50952

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/paddus.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50952.161412.patch
Type: text/x-patch
Size: 76797 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180820/50a87b29/attachment.bin>


More information about the llvm-commits mailing list