diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-28 08:08:15 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-06-28 08:08:15 +0000 |
commit | c15d2178313a3b904158a472e4aa1f118e040395 (patch) | |
tree | c4106e39019e725374e21f045e25343eb5a59c90 /clang-tools-extra/test/clang-tidy/boost-use-to-string.cpp | |
parent | 36b2c0a683ccfafbaad948ced64b6912aa5bf826 (diff) | |
download | bcm5719-llvm-c15d2178313a3b904158a472e4aa1f118e040395.tar.gz bcm5719-llvm-c15d2178313a3b904158a472e4aa1f118e040395.zip |
[X86][SSE] Added support for combining target shuffles to (V)PSHUFD/VPERMILPD/VPERMILPS immediate permutes
This patch allows target shuffles to be combined to single input immediate permute instructions - (V)PSHUFD/VPERMILPD/VPERMILPS - allowing more general pattern matching than what we current do and improves the likelihood of memory folding compared to existing patterns which tend to reuse the input in multiple arguments.
Further permute instructions (V)PSHUFLW/(V)PSHUFHW/(V)PERMQ/(V)PERMPD may be added in the future but its proven tricky to create tests cases for them so far. (V)PSHUFLW/(V)PSHUFHW is already handled quite well in combineTargetShuffle so it may be that removing some of that code may allow us to perform more of the combining in one place without duplication.
Differential Revision: http://reviews.llvm.org/D21148
llvm-svn: 273999
Diffstat (limited to 'clang-tools-extra/test/clang-tidy/boost-use-to-string.cpp')
0 files changed, 0 insertions, 0 deletions