[PATCH] D49954: [InstCombine] Fold Select with Xor condition

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 28 08:02:08 PDT 2018


spatel added a comment.

In https://reviews.llvm.org/D49954#1179378, @xbolva00 wrote:

> I picked it from the list of missed optimizations from here: https://blog.regehr.org/archives/1192


Ok, that's probably still a good-enough motivation. But let's generalize it, so we won't have to deal with every binop and cmp variation individually.


https://reviews.llvm.org/D49954





More information about the llvm-commits mailing list