Craig Topper
|
72b41227d8
|
Merge isSHUFPMask and isCommutedSHUFPMask into single function that can do both. Do the same for the 256-bit version. Use loops to reduce size of isVSHUFPYMask. Fix test cases that were incorrectly passing due to isCommutedSHUFPMask not checking for the vector being 128-bit. This caused some 256-bit shuffles to be incorrectly commuted.
llvm-svn: 145921
|
2011-12-06 04:59:07 +00:00 |
|
Craig Topper
|
a6c1d25798
|
Correctly mark VPERM2F128 as being an FP instruction and add execution domain fixing support to convert it to VPERM2I128 for AVX2.
llvm-svn: 145370
|
2011-11-29 03:57:34 +00:00 |
|
Craig Topper
|
6f5a0bc4e3
|
Add X86 instruction selection for VPERM2I128 when AVX2 is enabled. Merge VPERMILPS/VPERMILPD detection since they are pretty similar.
llvm-svn: 145238
|
2011-11-28 10:14:51 +00:00 |
|