diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-08 15:54:20 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2019-08-08 15:54:20 +0000 |
commit | 67c246bbe6a8042f1f8ce103303eedb4b06946f7 (patch) | |
tree | fa693ca24b1bf1e67f2b18d60b5e058d38f839b2 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 8558aac82cd2329bdf2a2e887f42ba7bd246e746 (diff) | |
download | llvm-67c246bbe6a8042f1f8ce103303eedb4b06946f7.zip llvm-67c246bbe6a8042f1f8ce103303eedb4b06946f7.tar.gz llvm-67c246bbe6a8042f1f8ce103303eedb4b06946f7.tar.bz2 |
[X86] SimplifyDemandedVectorElts - attempt to recombine target shuffle using DemandedElts mask
If we don't demand all elements, then attempt to combine to a simpler shuffle.
At the moment we can only do this if Depth == 0 as combineX86ShufflesRecursively uses Depth to track whether the shuffle has really changed or not - we'll need to change this before we can properly start merging combineX86ShufflesRecursively into SimplifyDemandedVectorElts.
The insertps-combine.ll regression is because XFormVExtractWithShuffleIntoLoad can't see through shuffles of different widths - this will be fixed in a follow-up commit.
llvm-svn: 368307
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions