commit | d906017c1a8b5c7c49f1bc21c13e8b85306298b8 | [log] [tgz] |
---|---|---|
author | Pete Cooper <peter_cooper@apple.com> | Sat Sep 01 22:27:48 2012 +0000 |
committer | Pete Cooper <peter_cooper@apple.com> | Sat Sep 01 22:27:48 2012 +0000 |
tree | 6feaebaf5ab7c300aa355fba8b97cf9e88406e8d | |
parent | 8dce5b600494a6a3e1e1b157f038d97bb3dc4aa3 [diff] |
Only legalise a VSELECT in to bitwise operations if the vector mask bool is zeros or all ones. A vector bool with just ones isn't suitable for masking with. No test case unfortunately as i couldn't find a target which fit all the conditions needed to hit this code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163075 91177308-0d34-0410-b5e6-96231b3b80d8