[PATCH] Only do foldSelectICmpAndOr for integer types

Bob Wilson bob.wilson at apple.com
Fri Sep 27 12:14:15 PDT 2013

On Sep 27, 2013, at 11:34 AM, Justin Bogner <mail at justinbogner.com> wrote:

> Currently foldSelectICmpAndOr asserts if the "or" involves a vector
> containing several of the same power of two. We can easily avoid this by
> only performing the fold on integer types, like foldSelectICmpAnd does.
> Okay to commit?

Yes, this looks good.

More information about the llvm-commits mailing list