Fix a regression in test/CodeGen/X86/2007-04-24-VectorCrash.ll introduced
authorDan Gohman <gohman@apple.com>
Wed, 31 Oct 2007 21:36:31 +0000 (21:36 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 31 Oct 2007 21:36:31 +0000 (21:36 +0000)
commit2cda9399deed8a50e95848716212b500c5b2d396
tree421d13ee95f59c98dccf32c51d68e7d0de636a9f
parentc570e33a61432b911775528674bcf75c2fd06755
Fix a regression in test/CodeGen/X86/2007-04-24-VectorCrash.ll introduced
by r43510. Gracefully handle constants with vector type that aren't
ConstantVector or ConstantAggregateZero.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43579 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantFold.cpp