[PATCH] D44375: [X86] Add a DAG combine to simplify PMULDQ/PMULUDQ nodes

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 11 23:09:34 PDT 2018


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

These nodes only use the lower 32 bits of their inputs so we can use SimplifyDemandedBits to simplify them.


https://reviews.llvm.org/D44375

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-pmuldq.ll
  test/CodeGen/X86/masked_gather_scatter.ll
  test/CodeGen/X86/xop-ifma.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44375.137974.patch
Type: text/x-patch
Size: 7553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180312/af0da21d/attachment.bin>


More information about the llvm-commits mailing list