summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/Vectorize.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-02-26 05:02:19 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-02-26 05:02:19 +0000
commit2659e503c34db1cd7b155d93dec0927e04f811da (patch)
tree8defc5a25776026a638f2fdbf76efdc9ae803cdd /llvm/lib/Transforms/Vectorize/Vectorize.cpp
parent735d5bee48099750293410192757da3a494a4da5 (diff)
downloadbcm5719-llvm-2659e503c34db1cd7b155d93dec0927e04f811da.tar.gz
bcm5719-llvm-2659e503c34db1cd7b155d93dec0927e04f811da.zip
[SROA] Simplify the computing of alignment: we only ever need the
alignment of the slice being rewritten, not any arbitrary offset. Every caller is really just trying to compute the alignment for the whole slice, never for some arbitrary alignment. They are also just passing a type when they have one to see if we can skip an explicit alignment in the IR by using the type's alignment. This makes for a much simpler interface. Another refactoring inspired by the addrspace patch for SROA, although only loosely related. llvm-svn: 202230
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/Vectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud