diff options
author | Matthias Braun <matze@braunis.de> | 2016-07-19 22:37:02 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-07-19 22:37:02 +0000 |
commit | 4cb68e104880dbf08ef6546272f57400985de8b2 (patch) | |
tree | ee608a88e6c57105765c1148980c63e9fa035245 /llvm/lib/Support/Unix/Path.inc | |
parent | d4ea94eb9422489724d70e1456d27869aced8228 (diff) | |
download | llvm-4cb68e104880dbf08ef6546272f57400985de8b2.zip llvm-4cb68e104880dbf08ef6546272f57400985de8b2.tar.gz llvm-4cb68e104880dbf08ef6546272f57400985de8b2.tar.bz2 |
RegisterScavenger: Introduce backward() mode.
This adds two pieces:
- RegisterScavenger:::enterBasicBlockEnd() which behaves similar to
enterBasicBlock() but starts tracking at the end of the basic block.
- A RegisterScavenger::backward() method. It is subtly different
from the existing unprocess() method which only considers uses with
the kill flag set: If a value is dead at the end of a basic block with
a last use inside the basic block, unprocess() will fail to mark it as
live. However we cannot change/fix this behaviour because unprocess()
needs to perform the exact reverse operation of forward().
Differential Revision: http://reviews.llvm.org/D21873
llvm-svn: 276043
Diffstat (limited to 'llvm/lib/Support/Unix/Path.inc')
0 files changed, 0 insertions, 0 deletions