[PATCH] D40612: [InstCombine] canonicalize constant-minus-boolean to select-of-constants

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 11:57:27 PST 2017


efriedma accepted this revision.
efriedma added a comment.
This revision is now accepted and ready to land.

LGTM.  We clearly should be canonicalizing expressions like this, and DAGCombine can reverse the transform if necessary.


https://reviews.llvm.org/D40612





More information about the llvm-commits mailing list