[PATCH] D78430: [InstSimplify] fold and/or of compares with equality to min/max constant

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 21 14:06:19 PDT 2020


lebedev.ri added a comment.

In D78430#1995421 <https://reviews.llvm.org/D78430#1995421>, @spatel wrote:

> We can do more optimization with less code in instcombine, so here's a step towards that:
>  D78582 <https://reviews.llvm.org/D78582>


I agree that we should have powerful instcombine fold,

> If there's agreement on that direction, I will abandon this patch.

but note that it would be a suspended, half-baked state,
since then we'd neither generalize the existing folds,
nor drop them.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78430/new/

https://reviews.llvm.org/D78430





More information about the llvm-commits mailing list