diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2007-11-01 06:22:48 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2007-11-01 06:22:48 +0000 |
| commit | 0547bab214c65402cd80846e8bccb7535c0ddf09 (patch) | |
| tree | 63b3dec3024fddb0bcf8993092da60f9801736db /include/llvm/CodeGen | |
| parent | 7ebba512c3417f0eb52ab68b39831e3a85105d66 (diff) | |
- Coalesce extract_subreg when both intervals are relatively small.
- Some code clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
| -rw-r--r-- | include/llvm/CodeGen/SimpleRegisterCoalescing.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/CodeGen/SimpleRegisterCoalescing.h b/include/llvm/CodeGen/SimpleRegisterCoalescing.h index b62c26cf22..b84781b15c 100644 --- a/include/llvm/CodeGen/SimpleRegisterCoalescing.h +++ b/include/llvm/CodeGen/SimpleRegisterCoalescing.h @@ -109,11 +109,11 @@ namespace llvm { /// JoinCopy - Attempt to join intervals corresponding to SrcReg/DstReg, /// which are the src/dst of the copy instruction CopyMI. This returns true - /// if the copy was successfully coalesced away, or if it is never possible - /// to coalesce these this copy, due to register constraints. It returns - /// false if it is not currently possible to coalesce this interval, but - /// it may be possible if other things get coalesced. - bool JoinCopy(MachineInstr *CopyMI, unsigned SrcReg, unsigned DstReg); + /// if the copy was successfully coalesced away. If it is not currently + /// possible to coalesce this interval, but it may be possible if other + /// things get coalesced, then it returns true by reference in 'Again'. + bool JoinCopy(MachineInstr *CopyMI, unsigned SrcReg, unsigned DstReg, + bool &Again); /// JoinIntervals - Attempt to join these two intervals. On failure, this /// returns false. Otherwise, if one of the intervals being joined is a |
