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

David Majnemer via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 16:41:52 PDT 2016


majnemer added a comment.

I think r159230 was a step in the wrong direction. An add with a zext seems harder to reason about than a select.


https://reviews.llvm.org/D24480





More information about the llvm-commits mailing list