[PATCH] D45317: Canonicalization of the min/max patterns.
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 5 06:05:56 PDT 2018
spatel added a reviewer: dmgreen.
spatel added a comment.
For reference, this pattern came up somewhere in the discussion leading up to https://reviews.llvm.org/D44266, but I can't remember exactly where.
We can generalize this - you don't need a constant operand to the min/max for it to be a win:
https://rise4fun.com/Alive/bftvin
Repository:
rL LLVM
https://reviews.llvm.org/D45317
More information about the llvm-commits
mailing list