diff options
| author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-05-15 15:18:15 +0000 |
|---|---|---|
| committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2014-05-15 15:18:15 +0000 |
| commit | d621120533c0f7d7f6224a2ba2df47518d1821ad (patch) | |
| tree | 774e96810b34f7c6d3df067671a870925cb657fb /llvm/lib/Object/Error.cpp | |
| parent | d6879febdc440edcaef5a47831c2b22312599a6d (diff) | |
| download | bcm5719-llvm-d621120533c0f7d7f6224a2ba2df47518d1821ad.tar.gz bcm5719-llvm-d621120533c0f7d7f6224a2ba2df47518d1821ad.zip | |
[X86] Teach the backend how to fold SSE4.1/AVX/AVX2 blend intrinsics.
Added target specific combine rules to fold blend intrinsics according
to the following rules:
1) fold(blend A, A, Mask) -> A;
2) fold(blend A, B, <allZeros>) -> A;
3) fold(blend A, B, <allOnes>) -> B.
Added two new tests to verify that the new folding rules work for all
the optimized blend intrinsics.
llvm-svn: 208895
Diffstat (limited to 'llvm/lib/Object/Error.cpp')
0 files changed, 0 insertions, 0 deletions

