[PATCH] D30537: [DAGCombiner] allow transforming (select Cond, C +/- 1, C) to (add(ext Cond), C)

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 16:19:41 PST 2017


efriedma added a comment.

Okay.  Given that, why do we want to do this?  Does it allow some useful refactoring of other code?


https://reviews.llvm.org/D30537





More information about the llvm-commits mailing list