summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-02-13 15:45:34 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-02-13 15:45:34 +0000
commit27b848afb0ec0f2acb3ebab3a56ec1f3074ebb3d (patch)
treebc5b09e3135ae977abbca6e205529491a5153d34 /clang/lib/Frontend/CompilerInvocation.cpp
parentd5f0b1148aea2d79ee15257348491a930ec04f8e (diff)
downloadbcm5719-llvm-27b848afb0ec0f2acb3ebab3a56ec1f3074ebb3d.tar.gz
bcm5719-llvm-27b848afb0ec0f2acb3ebab3a56ec1f3074ebb3d.zip
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! llvm-svn: 125459
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud