diff options
author | Matthias Braun <matze@braunis.de> | 2017-07-07 03:02:17 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2017-07-07 03:02:17 +0000 |
commit | 1b54aa58798f8e772db25500b0e5a1b95c1beb36 (patch) | |
tree | f4d3b9dd6408a6270b1c84b62a1353a53ca381f6 /llvm/lib/CodeGen/RegisterScavenging.cpp | |
parent | 4ce98662e7d109b4579c35945345db685ae5b3fb (diff) | |
download | bcm5719-llvm-1b54aa58798f8e772db25500b0e5a1b95c1beb36.tar.gz bcm5719-llvm-1b54aa58798f8e772db25500b0e5a1b95c1beb36.zip |
LiveRegUnits: Rename accumulateBackward()->accumulate()
Contrary to the stepForward()/stepBackward() method accumulate() doesn't
have a direction as defs, uses and clobbers all have the same effect.
Also improve the documentation comment.
llvm-svn: 307351
Diffstat (limited to 'llvm/lib/CodeGen/RegisterScavenging.cpp')
-rw-r--r-- | llvm/lib/CodeGen/RegisterScavenging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/RegisterScavenging.cpp b/llvm/lib/CodeGen/RegisterScavenging.cpp index 83d65a56fec..7856eaa0a36 100644 --- a/llvm/lib/CodeGen/RegisterScavenging.cpp +++ b/llvm/lib/CodeGen/RegisterScavenging.cpp @@ -388,7 +388,7 @@ findSurvivorBackwards(const MachineRegisterInfo &MRI, for (MachineBasicBlock::iterator I = From;; --I) { const MachineInstr &MI = *I; - Used.accumulateBackward(MI); + Used.accumulate(MI); if (I == To) { // See if one of the registers in RC wasn't used so far. |