diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-11-21 08:16:30 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-11-21 08:16:30 +0000 |
commit | 07df765e65204203f0185a7a243e5ec3a5c4b21c (patch) | |
tree | dbe0eaf334e6ac487019d287213ef39e02d6c846 /test/Other | |
parent | 96487825529d67f68f22a7a59a3634d929ce1bfb (diff) | |
download | external_llvm-07df765e65204203f0185a7a243e5ec3a5c4b21c.zip external_llvm-07df765e65204203f0185a7a243e5ec3a5c4b21c.tar.gz external_llvm-07df765e65204203f0185a7a243e5ec3a5c4b21c.tar.bz2 |
PR14055: Implement support for sub-vector operations in SROA.
Now if we can transform an alloca into a single vector value, but it has
subvector, non-element accesses, we form the appropriate shufflevectors
to allow SROA to proceed. This fixes PR14055 which pointed out a very
common pattern that SROA couldn't handle -- mixed vec3 and vec4
operations on a single alloca.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
0 files changed, 0 insertions, 0 deletions