diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-08-12 08:08:56 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2015-08-12 08:08:56 +0000 |
| commit | 8c049d5c03befd19c68dd6b404277f604302bc98 (patch) | |
| tree | 0af7c2ee214e92d36193f1d6ab9644db5d84a25b /llvm/lib/IRReader | |
| parent | 9b2c45398fdd2d57aa8ac9ba5f7beaf2f5335602 (diff) | |
| download | bcm5719-llvm-8c049d5c03befd19c68dd6b404277f604302bc98.tar.gz bcm5719-llvm-8c049d5c03befd19c68dd6b404277f604302bc98.zip | |
[InstCombine] Move SSE/AVX vector blend folding to instcombiner
As discussed in D11886, this patch moves the SSE/AVX vector blend folding to instcombiner from PerformINTRINSIC_WO_CHAINCombine (which allows us to remove this completely).
InstCombiner already had partial support for this, I just had to add support for zero (ConstantAggregateZero) masks and also the case where both selection inputs were the same (allowing us to ignore the mask).
I also moved all the relevant combine tests into InstCombine/blend_x86.ll
Differential Revision: http://reviews.llvm.org/D11934
llvm-svn: 244723
Diffstat (limited to 'llvm/lib/IRReader')
0 files changed, 0 insertions, 0 deletions

