[PATCH] D33186: [InstCombine] Canonicalize clamp of float types to minmax in fast mode.

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 27 12:06:14 PDT 2017


a.elovikov added a comment.

In https://reviews.llvm.org/D33186#792461, @efriedma wrote:

> I'm okay with limiting it to FP vectors for now.


I believe for scalars it can be beneficial too, similar to cmov vs. branch.


https://reviews.llvm.org/D33186





More information about the llvm-commits mailing list