[PATCH] D45651: [X86] Add DAG combine to turn (trunc (srl (mul ext, ext), 16) into PMULHW/PMULHUW.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 14 00:01:03 PDT 2018


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

Ultimately I want to use this to remove the intrinsics for these instructions.


Repository:
  rL LLVM

https://reviews.llvm.org/D45651

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45651.142509.patch
Type: text/x-patch
Size: 16072 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180414/e0f27fd4/attachment.bin>


More information about the llvm-commits mailing list