[PATCH] D144451: [X86] Optimize umax(X,1)

Kazu Hirata via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 3 22:56:00 PST 2023


kazu updated this revision to Diff 502353.
kazu added a comment.

Add support for i8 and i16 by seeing through ISD::TRUNCATE.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144451/new/

https://reviews.llvm.org/D144451

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144451.502353.patch
Type: text/x-patch
Size: 4722 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230304/f1e121ba/attachment.bin>


More information about the llvm-commits mailing list