llvm-6502/lib
Duncan Sands 0954aefd81 Temporarily allow the operands of a BUILD_VECTOR
to have a different type to the vector element
type.  This should be fairly harmless because in
the past guys like this were being built all over
the place (and were cleaned up when I added this
check).  The reason for relaxing this check is
that it helps LegalizeTypes legalize vector
shuffles: the mask is a BUILD_VECTOR that it is
*not always possible* to legalize while keeping it
a BUILD_VECTOR (vector_shuffle requires the mask
to be a BUILD_VECTOR, as opposed to a vector with
the right vector type).  With this check it is even
harder to legalize the mask - turning the check off
means that LegalizeTypes manages to legalize almost
all vector shuffles encountered in practice.  The
correct solution is to change vector_shuffle to be a
variadic node with the mask built into it as operands.
While waiting for that change, this hack stops the
problem with vector_shuffle from blocking the turning
on of LegalizeTypes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57965 91177308-0d34-0410-b5e6-96231b3b80d8
2008-10-22 09:00:33 +00:00
..
Analysis Trim #includes. 2008-10-16 20:18:31 +00:00
Archive Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
AsmParser regenerate 2008-10-15 12:05:02 +00:00
Bitcode Rename APFloat::convertToAPInt to bitcastToAPInt to 2008-10-09 18:53:47 +00:00
CodeGen Temporarily allow the operands of a BUILD_VECTOR 2008-10-22 09:00:33 +00:00
Debugger Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
ExecutionEngine CMake: Turned some libraries into partially linked objects. Corrected 2008-10-22 02:51:53 +00:00
Linker Also properly handle linking of strong alias and weak global 2008-10-15 20:10:50 +00:00
Support Clear raw_fd_ostream error string on success and explain behavior in 2008-10-21 19:53:10 +00:00
System Update the stub and callback code to handle lazy compilation. The stub 2008-10-20 21:39:23 +00:00
Target Fix PR2907 by digging through constant expressions to find FP constants that 2008-10-22 04:53:16 +00:00
Transforms Use Function::getEntryBlock() instead of Function::front(), for clarity. 2008-10-21 03:10:28 +00:00
VMCore Move Print*Pass to use raw_ostream. 2008-10-22 03:25:22 +00:00
Makefile