[PATCH] D49562: [X86][SSE] Use ISD::MULHU for constant/non-zero ISD::SRL lowering (PR38151)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 20 02:51:44 PDT 2018


RKSimon updated this revision to Diff 156458.
RKSimon added a comment.

Add partial support for shift-by-zero amounts - for v8i16 on SSE41+ targets where PBLENDW is available.


Repository:
  rL LLVM

https://reviews.llvm.org/D49562

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-sdiv.ll
  test/CodeGen/X86/combine-shl.ll
  test/CodeGen/X86/vector-shift-lshr-128.ll
  test/CodeGen/X86/vector-shift-lshr-256.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D49562.156458.patch
Type: text/x-patch
Size: 55726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180720/66041ee6/attachment.bin>


More information about the llvm-commits mailing list