Bruno Cardoso Lopes
|
6cb23f6e7f
|
Add a DAGCombine for subvector extracts to remove useless chains of
subvector inserts and extracts. Initial patch by Rackover, Zvi with
some tweak done by me.
llvm-svn: 140204
|
2011-09-20 23:19:33 +00:00 |
Bruno Cardoso Lopes
|
8058234b32
|
Revert r140097, working on a better approach
llvm-svn: 140203
|
2011-09-20 23:19:29 +00:00 |
Bruno Cardoso Lopes
|
51792dcc4d
|
Based on the small opt Zvi's patch was trying to achieve, eliminate
128-bit undef subvector insertion into a 256-bit vector
llvm-svn: 140097
|
2011-09-19 23:36:50 +00:00 |
Bruno Cardoso Lopes
|
cbe7feeab9
|
Fix PR10656. It's only profitable to use 128-bit inserts and extracts
when AVX mode is one. Otherwise is just more work for the type
legalizer.
llvm-svn: 137661
|
2011-08-15 21:45:54 +00:00 |
Bruno Cardoso Lopes
|
8fbf023c9b
|
Add a dag combine to xform 256-bit shuffles into simple vector
inserts and extracts. This simple combine makes us generate only 1
instruction instead of 11 in the v8 case.
llvm-svn: 137362
|
2011-08-11 21:50:44 +00:00 |