[PATCH] D108165: [InstCombine] fold signed min/max intrinsics with negated operands

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 14:44:37 PDT 2021


lebedev.ri accepted this revision.
lebedev.ri added a comment.
This revision is now accepted and ready to land.

LG.
I'm not sure we have similar fold for `umin`/`umax`.
There, only inversion comes to mind https://alive2.llvm.org/ce/z/4RcW8r, but apparently we already do that for all 4 variants.


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

https://reviews.llvm.org/D108165



More information about the llvm-commits mailing list