[PATCH] D41294: [X86][SSE] Use (V)PHMINPOSUW for vXi8 SMAX/SMIN/UMAX/UMIN horizontal reductions (PR32841)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 18 02:48:25 PST 2017


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

Use getSizeInBits instead of getScalarSizeInBits for a known scalar


Repository:
  rL LLVM

https://reviews.llvm.org/D41294

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/horizontal-reduce-smax.ll
  test/CodeGen/X86/horizontal-reduce-smin.ll
  test/CodeGen/X86/horizontal-reduce-umax.ll
  test/CodeGen/X86/horizontal-reduce-umin.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41294.127314.patch
Type: text/x-patch
Size: 78198 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171218/871fa083/attachment-0001.bin>


More information about the llvm-commits mailing list