summaryrefslogtreecommitdiff
path: root/lib/Bitcode
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
commitf11f7a49b9ea1c5be61ad5ddca3eb0d42891f422 (patch)
tree37ba1d0399ce1a3ded2cb21391d9b4b5cf6be44b /lib/Bitcode
parentabd2555e365dc24ce71a1ef1afaf7d687d04a208 (diff)
downloadllvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.gz
llvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.bz2
llvm-f11f7a49b9ea1c5be61ad5ddca3eb0d42891f422.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202228 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
0 files changed, 0 insertions, 0 deletions