llvm-6502/lib
Duncan Sands f1bb7f1d3e Use a legal type for elements of the vector_shuffle
mask.  These are just indices into the shuffled vector
so their type is unrelated to the type of the
shuffled elements (which is what was being used before).
This fixes vec_shuffle-11.ll when using LegalizeTypes.
What seems to have happened is that Dan's recent change
r53687, which corrected the result type of the shuffle,
somehow caused LegalizeTypes to notice that the mask
operand was a BUILD_VECTOR with a legal type but elements
of an illegal type (i64).  LegalizeTypes legalized this
by introducing a new BUILD_VECTOR of i32 and bitcasting
it to the old type.  But the mask operand is not supposed
to be a bitcast but a straight BUILD_VECTOR of constants,
causing a crash.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53729 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-17 19:28:41 +00:00
..
Analysis Don't use ++idx_begin when I actually mean idx_begin + 1, especially since we 2008-07-16 10:47:35 +00:00
Archive
AsmParser Align comments, colons and cases. Remove trailing 2008-07-11 07:37:30 +00:00
Bitcode Add a little wrapper header that is put around bc files when emitting 2008-07-09 05:14:23 +00:00
CodeGen Use a legal type for elements of the vector_shuffle 2008-07-17 19:28:41 +00:00
Debugger
ExecutionEngine Add a new hidden option to the interpreter to cause it to print 2008-07-08 17:25:49 +00:00
Linker Reimplement LinkFunctionProtos in terms of GetLinkageResult. This fixes 2008-07-14 07:23:24 +00:00
Support Reapply 53476 and 53480, with a fix so that it properly updates 2008-07-14 18:19:29 +00:00
System open plugins with RTLD_GLOBAL, pointed out by Bram Adams. 2008-07-10 00:52:20 +00:00
Target Add a new function, ReplaceAllUsesOfValuesWith, which handles bulk 2008-07-17 19:10:17 +00:00
Transforms Make GlobalOpt preserve address spaces when scalar replacing aggregate globals. 2008-07-17 11:59:53 +00:00
VMCore Fix a bunch of bugs handling vector compare constant expressions, fixing 2008-07-14 05:17:31 +00:00
Makefile