[PATCH] D37019: Add select simplifications

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 22 14:22:17 PDT 2017


craig.topper added a comment.

Is this potentially better handled by extracting the code from the bottom of SimplifyUsingDistributiveLaws that deals with selects on both arms of a binop. The fact that simplifyUsingDistributiveLaws isn't called on fadd/fsub/fmul is causing this to be handled differently that integer add/sub/mul.


https://reviews.llvm.org/D37019





More information about the llvm-commits mailing list