llvm-6502/test/Analysis/CostModel
Arnold Schwaighofer cd3d60c450 TargetLowering: Fix getTypeConversion handling of extended vector types
The code in getTypeConversion attempts to promote the element vector type
before it trys to split or widen the vector.
After it failed finding a legal vector type by promoting it would continue using
the promoted vector element type. Thereby missing legal splitted vector types.
For example the type v32i32 that has a legal split of 4 x v3i32 on x86/sse2
would be transformed to: v32i256 and from there on successively split to:
v16i256, v8i256, v1i256 and then finally ends up as an i64 type.
By resetting the vector element type to the original vector element type that
existed before the promotion the code will attempt to split the vector type to
smaller vector widths of the same type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178999 91177308-0d34-0410-b5e6-96231b3b80d8
2013-04-07 20:22:56 +00:00
..
ARM Improve long vector sext/zext lowering on ARM 2013-03-19 08:15:38 +00:00
PowerPC Refine fix to bug 15041. 2013-02-08 18:19:17 +00:00
X86 TargetLowering: Fix getTypeConversion handling of extended vector types 2013-04-07 20:22:56 +00:00
lit.local.cfg
no_info.ll Make opt grab the triple from the module and use it to initialize the target machine. 2013-01-01 08:00:32 +00:00