summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Hello
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-02-26 04:25:04 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-02-26 04:25:04 +0000
commitea27cf08d823dd8d01c8093d3c59f0686cbf31d0 (patch)
tree8944cb8f4f935801b7a4ab925d7af46f0aa48e73 /llvm/lib/Transforms/Hello
parentc46b6eb302d0514d8bc1eed7d6cb407069170b56 (diff)
downloadbcm5719-llvm-ea27cf08d823dd8d01c8093d3c59f0686cbf31d0.tar.gz
bcm5719-llvm-ea27cf08d823dd8d01c8093d3c59f0686cbf31d0.zip
[SROA] Use the members for New{Begin,End}Offset in the rewrite helpers
rather than passing them as arguments. While I generally prefer actual arguments, in this case the readability loss is substantial. By using members we avoid repeatedly calculating the offsets, and once we're using members it is useful to ensure that those names *always* refer to the original-alloca-relative new offset for a rewritten slice. No functionality changed. Follow-up refactoring, all toward getting the address space patch merged. llvm-svn: 202228
Diffstat (limited to 'llvm/lib/Transforms/Hello')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud