[PATCH] D70852: [InstCombine] Guard maxnum/minnum conversions with a TTI query

Ulrich Weigand via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 29 06:29:48 PST 2019


uweigand added a comment.

In D70852#1763820 <https://reviews.llvm.org/D70852#1763820>, @lebedev.ri wrote:

> This seems like a lowering problem in SystemZ backend.


So is the backend supposed to lower minnum/maxnum always (to the obvious select sequence, I guess?), even if there's no instruction for it?   Why would that be the job of the backend?


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

https://reviews.llvm.org/D70852





More information about the llvm-commits mailing list