commit | 93198099d3fc422801bb224783d4d4d49d5053cd | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Tue Aug 29 00:13:49 2017 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Tue Aug 29 00:13:49 2017 +0000 |
tree | 9db33a38865507a55ab9abcdc714af2cac46daec | |
parent | 347f51897e158ae64f4856833cdf2db756bdc97e [diff] |
[InstCombine] Teach foldSelectICmpAndOr to handle vector splats This was pretty close to working already. While I was here I went ahead and passed the ICmpInst pointer from the caller instead of doing a dyn_cast that can never fail. Differential Revision: https://reviews.llvm.org/D37237 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311960 91177308-0d34-0410-b5e6-96231b3b80d8