aboutsummaryrefslogtreecommitdiff
path: root/unittests/Transforms/Utils/Local.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-21 08:16:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-21 08:16:30 +0000
commit07df765e65204203f0185a7a243e5ec3a5c4b21c (patch)
treedbe0eaf334e6ac487019d287213ef39e02d6c846 /unittests/Transforms/Utils/Local.cpp
parent96487825529d67f68f22a7a59a3634d929ce1bfb (diff)
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 'unittests/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions