[PATCH] Only do foldSelectICmpAndOr for integer types

Justin Bogner mail at justinbogner.com
Fri Sep 27 11:34:09 PDT 2013

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foldSelectICmpAndOr.patch
Type: text/x-patch
Size: 1453 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130927/46ca7ed9/attachment.bin>

More information about the llvm-commits mailing list