[InstCombine] fix foldSPFofSPF() to handle vector splats
authorSanjay Patel <spatel@rotateright.com>
Thu, 27 Oct 2016 21:19:40 +0000 (21:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 27 Oct 2016 21:19:40 +0000 (21:19 +0000)
commitc0de9c9e40b3eb5c2422d72ff5e0e3962baa714b
tree9ee466900f047ee93d5af668f0c46b65394aae16
parentc1708b0d9959db2057ae7cfc0f95fb7ecb6adbca
[InstCombine] fix foldSPFofSPF() to handle vector splats

llvm-svn: 285345
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
llvm/test/Transforms/InstCombine/select.ll