[PATCH] D28625: [InstCombine] try to shrink bitwise logic with phi operand

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 14:56:39 PST 2017


efriedma added a comment.

Would it be possible to come up with some more general optimization?  Making integer operations in loops narrower can be useful (for vectorization etc.), but specifically special-casing a boolean "or" reduction doesn't seem like something that will trigger frequently enough to matter.


https://reviews.llvm.org/D28625





More information about the llvm-commits mailing list