diff options
author | David Goodwin <david_goodwin@apple.com> | 2009-11-19 23:12:37 +0000 |
---|---|---|
committer | David Goodwin <david_goodwin@apple.com> | 2009-11-19 23:12:37 +0000 |
commit | 3e72d301e03de8edcd603a5d3e9486748dfa6887 (patch) | |
tree | 238d7eaaaabe928cc6c38177e48a61ab5fa288c2 /lib/CodeGen/AggressiveAntiDepBreaker.h | |
parent | 4d8e90a026a29a812616690bd77b72e0b5ae6c75 (diff) | |
download | llvm-3e72d301e03de8edcd603a5d3e9486748dfa6887.tar.gz llvm-3e72d301e03de8edcd603a5d3e9486748dfa6887.tar.bz2 llvm-3e72d301e03de8edcd603a5d3e9486748dfa6887.tar.xz |
Fix a couple of problems with maintaining liveness information for antidep breaking.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89404 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/AggressiveAntiDepBreaker.h')
-rw-r--r-- | lib/CodeGen/AggressiveAntiDepBreaker.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/CodeGen/AggressiveAntiDepBreaker.h b/lib/CodeGen/AggressiveAntiDepBreaker.h index e5c9a7bb3a..543c102a7a 100644 --- a/lib/CodeGen/AggressiveAntiDepBreaker.h +++ b/lib/CodeGen/AggressiveAntiDepBreaker.h @@ -175,7 +175,9 @@ namespace llvm { /// return that register and all subregisters. void GetPassthruRegs(MachineInstr *MI, std::set<unsigned>& PassthruRegs); - void HandleLastUse(unsigned Reg, unsigned KillIdx, const char *tag); + void HandleLastUse(unsigned Reg, unsigned KillIdx, const char *tag, + const char *header =NULL, const char *footer =NULL); + void PrescanInstruction(MachineInstr *MI, unsigned Count, std::set<unsigned>& PassthruRegs); void ScanInstruction(MachineInstr *MI, unsigned Count); |