[PATCH] D45806: DAGcombiner: Handle correctly non-splat power of 2 -1 divisor
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 28 11:18:50 PDT 2018
efriedma added a comment.
I think you can save a blend by emitting one select for both "1" and "-1"? (`SDValue IsOneOrAllOnes = DAG.getNode(ISD::OR, VT, IsAllOnes, IsOne);` etc.)
Repository:
rL LLVM
https://reviews.llvm.org/D45806
More information about the llvm-commits
mailing list