summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/Archive.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-15 15:18:15 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2014-05-15 15:18:15 +0000
commitd621120533c0f7d7f6224a2ba2df47518d1821ad (patch)
tree774e96810b34f7c6d3df067671a870925cb657fb /llvm/lib/Object/Archive.cpp
parentd6879febdc440edcaef5a47831c2b22312599a6d (diff)
downloadbcm5719-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/Archive.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud