diff options
author | Nate Begeman <natebegeman@mac.com> | 2010-08-10 21:38:12 +0000 |
---|---|---|
committer | Nate Begeman <natebegeman@mac.com> | 2010-08-10 21:38:12 +0000 |
commit | 95743d8748a85bbb03aff3b3baae728c138acbab (patch) | |
tree | dddd6feaf7002fa6e9fa6a12ee5ab7791fd65944 /examples/BrainF/BrainF.cpp | |
parent | 75486dbf4e9611f2070bf13b874f78a5587ed7ff (diff) |
Add the minimal amount of smarts necessary to instcombine of shufflevectors to recognize
patterns generated by clang for transpose of a matrix in generic vectors. This is made
of two parts:
1) Propagating vector extracts of hi/lo half into their users
2) Recognizing an insertion of even elements followed by the odd elements as an unpack.
Testcase to come, but this shrinks the # of shuffle instructions generated on x86 from ~40 to the minimal 8.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110734 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/BrainF/BrainF.cpp')
0 files changed, 0 insertions, 0 deletions