summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-02-26 05:12:43 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-02-26 05:12:43 +0000
commit47954c80ed412b7f2d0c792b976c343a8933c0f5 (patch)
treef67dac0c0f52b6f2a22386a3d2043c30fd595f22 /llvm/lib/Transforms/Vectorize
parent2659e503c34db1cd7b155d93dec0927e04f811da (diff)
downloadbcm5719-llvm-47954c80ed412b7f2d0c792b976c343a8933c0f5.tar.gz
bcm5719-llvm-47954c80ed412b7f2d0c792b976c343a8933c0f5.zip
[SROA] Yet another slight refactoring that simplifies an API in the
rewriting logic: don't pass custom offsets for the adjusted pointer to the new alloca. We always passed NewBeginOffset here. Sometimes we spelled it BeginOffset, but only when they were in fact equal. Whats worse, the API is set up so that you can't reasonably call it with anything else -- it assumes that you're passing it an offset relative to the *original* alloca that happens to fall within the new one. That's the whole point of NewBeginOffset, it's the clamped beginning offset. No functionality changed. llvm-svn: 202231
Diffstat (limited to 'llvm/lib/Transforms/Vectorize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud