[InstCombine] (bool X) * Y --> X ? Y : 0
This is both a functional improvement for vectors and an efficiency improvement for scalars. The existing code below the new folds does the same thing for scalars, but in an indirect and expensive way. llvm-svn: 325048
Loading
Please sign in to comment