[PATCH] D24480: [InstCombine] remove fold: zext(bool) + C -> bool ? C + 1 : C

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 15:54:09 PDT 2016


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

LGTM.  (If you want to discuss more general questions of when we should prefer select vs. arithmetic, please bring it up on llvmdev.)


https://reviews.llvm.org/D24480





More information about the llvm-commits mailing list