[PATCH] D21512: [InstSimplify] look through zexts of icmps to eliminate obviously false logic (PR27869)

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 19 15:47:56 PDT 2016

spatel added a comment.

In http://reviews.llvm.org/D21512#461900, @majnemer wrote:

> Hmm.  More generally, how about having and of zexts get treated as zext of ands?

I think we already do that, but the case in the bug report shows an example where one of the zexts is gone before we reach the and.


More information about the llvm-commits mailing list