[PATCH] D43014: [X86][SSE] Enable SMIN/SMAX/UMIN/UMAX custom lowering for all legal types

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 10 16:33:30 PST 2018


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

Added SMIN/SMAX -> UMIN/UMAX combine as well


Repository:
  rL LLVM

https://reviews.llvm.org/D43014

Files:
  lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/combine-smax.ll
  test/CodeGen/X86/combine-smin.ll
  test/CodeGen/X86/combine-umax.ll
  test/CodeGen/X86/combine-umin.ll
  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
  test/CodeGen/X86/i64-to-float.ll
  test/CodeGen/X86/psubus.ll
  test/CodeGen/X86/vec_minmax_sint.ll
  test/CodeGen/X86/vec_minmax_uint.ll
  test/CodeGen/X86/vector-trunc-packus.ll
  test/CodeGen/X86/vector-trunc-ssat.ll
  test/CodeGen/X86/vector-trunc-usat.ll
  test/CodeGen/X86/vselect-minmax.ll





More information about the llvm-commits mailing list