llvm-6502/lib/VMCore
Nick Lewycky 401f3258f6 Fix a crasher trying to fold each element in a comparison between two vectors
if one of the vectors didn't have elements (such as undef). Fixes PR 6096.

Fix an issue in the constant folder where fcmp (<2 x %ty>, <2 x %ty>) would
have <2 x i1> type if constant folding was successful and i1 type if it wasn't.
This exposed a related issue in the bitcode reader.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94069 91177308-0d34-0410-b5e6-96231b3b80d8
2010-01-21 07:03:21 +00:00
..
AsmWriter.cpp Refactor common parts of MDNode::getFunction() and assertLocalFunction() into getFunctionForValue() 2010-01-20 04:45:57 +00:00
Attributes.cpp Remove the InlineHint attribute. There are no current or planned 2010-01-15 21:36:30 +00:00
AutoUpgrade.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
BasicBlock.cpp
CMakeLists.txt Update CMake files for Mangler move. 2010-01-16 22:23:09 +00:00
ConstantFold.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantFold.h
Constants.cpp Fix a crasher trying to fold each element in a comparison between two vectors 2010-01-21 07:03:21 +00:00
ConstantsContext.h Fix a build error and change errs() to dbgs(). 2010-01-05 01:34:26 +00:00
Core.cpp "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." 2010-01-09 22:27:07 +00:00
Dominators.cpp
Function.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Globals.cpp
InlineAsm.cpp Avoid going through the LLVMContext for type equality where it's safe to dereference the type pointer. 2010-01-05 13:12:22 +00:00
Instruction.cpp
Instructions.cpp fix a buggy assertion, CreateIntegerCast should allow 2010-01-10 20:21:42 +00:00
IntrinsicInst.cpp Improve llvm.dbg.declare intrinsic by referring directly to the storage in its first argument, via function-local metadata (instead of via a bitcast). 2010-01-15 19:04:09 +00:00
IRBuilder.cpp
LeakDetector.cpp
LeaksContext.h
LLVMContext.cpp
LLVMContextImpl.h
Makefile
Metadata.cpp Fix if/else brackets; getFunctionForValue() is to be called for non-metadata values 2010-01-20 06:22:33 +00:00
Module.cpp Use ilist_tratis to autoinsert and remove NamedMDNode from MDSymbolTable. 2010-01-12 18:34:06 +00:00
ModuleProvider.cpp
Pass.cpp Change errs() to dbgs(). 2010-01-05 01:30:04 +00:00
PassManager.cpp "In order to ease automatic bindings generation, it would be helpful if boolean values were distinguishable from integers. The attached patch introduces "typedef int LLVMBool;", and uses LLVMBool instead of int throughout the C API, wherever a boolean value is called for." 2010-01-09 22:27:07 +00:00
PrintModulePass.cpp Change errs() to dbgs(). 2010-01-05 01:30:18 +00:00
SymbolTableListTraitsImpl.h
Type.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
TypesContext.h Change errs() to dbgs(). 2010-01-05 01:29:39 +00:00
TypeSymbolTable.cpp Change errs() to dbgs(). 2010-01-05 01:30:14 +00:00
Use.cpp
Value.cpp Introduce Twine::toStringRef, a variant of toVector which avoids the copy if the 2010-01-13 12:45:23 +00:00
ValueSymbolTable.cpp Delete NamedMDSymTable while destrucing Module. 2010-01-09 01:44:59 +00:00
ValueTypes.cpp
Verifier.cpp Backout r93990 2010-01-20 07:37:49 +00:00