[PATCH] D42935: [X86] Use min/max for vector ult/ugt compares if avoids a sign flip.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 7 12:45:09 PST 2018


craig.topper updated this revision to Diff 133278.
craig.topper added a comment.

Use isOperationLegal


https://reviews.llvm.org/D42935

Files:
  lib/Target/X86/X86ISelLowering.cpp
  test/CodeGen/X86/avx512-insert-extract.ll
  test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
  test/CodeGen/X86/psubus.ll
  test/CodeGen/X86/vec_cmp_uint-128.ll
  test/CodeGen/X86/vec_minmax_match.ll
  test/CodeGen/X86/vec_setcc-2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42935.133278.patch
Type: text/x-patch
Size: 93386 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180207/52279e09/attachment-0001.bin>


More information about the llvm-commits mailing list