diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-02 09:24:46 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2020-09-02 09:24:46 +0100 |
commit | 21d02dc595797677a533c6b0508c0c9235bc4f13 (patch) | |
tree | 17b2dbcc64a54e24a976b606bfb06694971b0616 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 814242572731da240ff91b233a0bc8c7b2323434 (diff) | |
download | llvm-21d02dc595797677a533c6b0508c0c9235bc4f13.zip llvm-21d02dc595797677a533c6b0508c0c9235bc4f13.tar.gz llvm-21d02dc595797677a533c6b0508c0c9235bc4f13.tar.bz2 |
[X86][SSE] SimplifyDemandedVectorEltsForTargetNode - add general shuffle combining support
This patch uses partial DemandedElts masks to further simplify target shuffle chains and finally starts making target shuffle combining part of SimplifyDemandedBits/SimplifyDemandedVectorElts.
We already manage this for Depth == 0 cases, where combineX86ShuffleChain would early-out if the shuffle combined to the same op, but the patch generalizes this by manipulating the depth handling of combineX86ShufflesRecursively - calling with a new Depth = 0 and reducing the maximum shuffle combine depth accordingly.
Differential Revision: https://reviews.llvm.org/D66004
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions