Nadav Rotem bc53ca1b53 Fix a regression from r125393;
It caused a crash in MultiSource/Benchmarks/Bullet.
Opt hit an assertion with "opt -std-compile-opts" because
Constant::getAllOnesValue doesn't know how to handle floats.

This patch added a test to reproduce the problem and a check that the
destination vector is of integer type.

Thank you Benjamin!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125459 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-13 15:45:34 +00:00
..
2010-11-29 18:16:10 +00:00
2011-01-20 03:58:43 +00:00
2010-11-29 18:16:10 +00:00
2010-10-12 00:15:27 +00:00
2011-01-20 21:03:22 +00:00
2010-04-19 15:42:05 +00:00
2011-01-17 15:18:06 +00:00
2011-01-26 21:56:10 +00:00