Simon Pilgrim
5e79ea8281
[X86] Stack folding tests - just use mtriple - no need for mcpu in these tests
...
llvm-svn: 251229
2015-10-25 11:42:46 +00:00
Simon Pilgrim
8ee50e9cff
[X86][SSE] Use general sext IR for (v)pmovsx stack folding tests
...
llvm-svn: 247502
2015-09-12 11:45:24 +00:00
Simon Pilgrim
0184622bbc
[X86] Added SSE4.2 CRC32 memory folding patterns + tests
...
llvm-svn: 234013
2015-04-03 14:24:40 +00:00
Simon Pilgrim
2711b743b8
[X86] Ensure integer domain on scalar i64 load/store stack folding tests. NFC
...
llvm-svn: 233553
2015-03-30 15:25:51 +00:00
Simon Pilgrim
ece7475951
Simplified some stack folding tests.
...
Replaced explicit pmovzx* intrinsic tests with general shuffles
llvm-svn: 232286
2015-03-14 23:16:43 +00:00
Simon Pilgrim
6eb925a3ed
[X86] Ensure integer domain on scalar load/store stack folding tests. NFC
...
llvm-svn: 229257
2015-02-14 14:10:44 +00:00
Simon Pilgrim
b4a0df9a4a
Ensure integer domain on general shuffle stack folding tests
...
llvm-svn: 228972
2015-02-12 22:47:45 +00:00
Simon Pilgrim
cbc3b2fdc2
[X86][SSE] Added missing stack folding tests for (v)mpsadbw instruction
...
llvm-svn: 228506
2015-02-07 21:20:11 +00:00
Simon Pilgrim
c976e8eef4
Line endings fixes. NFC.
...
llvm-svn: 226872
2015-01-22 22:27:37 +00:00
Simon Pilgrim
5fa0fb23ca
[X86][SSE] Missing SSE/AVX1 memory folding integer instructions
...
Added most of the missing integer vector folding patterns for SSE (to SSE42) and AVX1.
The most useful of these are probably the i32/i64 extraction, i8/i16/i32/i64 insertions, zero/sign extension, unsigned saturation subtractions, i64 subtractions and the variable mask blends (pblendvb) - others include CLMUL, SSE42 string comparisons and bit tests.
Differential Revision: http://reviews.llvm.org/D7094
llvm-svn: 226745
2015-01-21 23:43:30 +00:00
Simon Pilgrim
0177fa3d8c
[X86][SSE] Added SSE/AVX1 integer stack folding tests.
...
Some folding patterns + tests are missing (marked as TODO) - these will be added in a future patch for review.
llvm-svn: 226622
2015-01-20 23:54:17 +00:00