diff options
author | Pete Cooper <peter_cooper@apple.com> | 2012-04-03 22:57:55 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2012-04-03 22:57:55 +0000 |
commit | 2ce63c73520cd6e715f9114589f802938b5db01f (patch) | |
tree | 894de6caa1343d4b049aeb841d4fd30133fe15a3 /lib/Support | |
parent | dda3a099a096588d435fdb855b52b0a203316de2 (diff) | |
download | external_llvm-2ce63c73520cd6e715f9114589f802938b5db01f.zip external_llvm-2ce63c73520cd6e715f9114589f802938b5db01f.tar.gz external_llvm-2ce63c73520cd6e715f9114589f802938b5db01f.tar.bz2 |
Add VSELECT to LegalizeVectorTypes::ScalariseVectorResult. Previously it would crash if it encountered a 1 element VSELECT. Solution is slightly more complicated than just creating a SELET as we have to mask or sign extend the vector condition if it had different boolean contents from the scalar condition. Fixes <rdar://problem/11178095>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153976 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
0 files changed, 0 insertions, 0 deletions