diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-02-29 02:50:03 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-02-29 02:50:03 +0000 |
commit | a3e0d87ba907bd35cd9b6f28573433377e95d145 (patch) | |
tree | cc0a5aeffef6e57694dfd6d641e56b60a1f1ed67 /lib/CodeGen/SimpleRegisterCoalescing.h | |
parent | 9be0de20d094c3aec4f1e6e8c65f1cf4c4f0c1b6 (diff) | |
download | external_llvm-a3e0d87ba907bd35cd9b6f28573433377e95d145.tar.gz external_llvm-a3e0d87ba907bd35cd9b6f28573433377e95d145.tar.bz2 external_llvm-a3e0d87ba907bd35cd9b6f28573433377e95d145.zip |
No need for coalescer to update kills. Only copies are coalesced and those instructions will be deleted. Doh.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47749 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SimpleRegisterCoalescing.h')
-rw-r--r-- | lib/CodeGen/SimpleRegisterCoalescing.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/CodeGen/SimpleRegisterCoalescing.h b/lib/CodeGen/SimpleRegisterCoalescing.h index 309a858758..74c3978742 100644 --- a/lib/CodeGen/SimpleRegisterCoalescing.h +++ b/lib/CodeGen/SimpleRegisterCoalescing.h @@ -190,10 +190,6 @@ namespace llvm { bool RemoveCopyByCommutingDef(LiveInterval &IntA, LiveInterval &IntB, MachineInstr *CopyMI); - /// RemoveUnnecessaryKills - Remove kill markers that are no longer accurate - /// due to live range lengthening as the result of coalescing. - void RemoveUnnecessaryKills(unsigned Reg, LiveInterval &LI); - /// isBackEdgeCopy - Returns true if CopyMI is a back edge copy. /// bool isBackEdgeCopy(MachineInstr *CopyMI, unsigned DstReg); @@ -214,10 +210,6 @@ namespace llvm { /// register. It returns NULL if the def is not found. MachineOperand *findDefOperand(MachineInstr *MI, unsigned Reg) const; - /// unsetRegisterKills - Unset IsKill property of all uses of specific register - /// between cycles Start and End. - void unsetRegisterKills(unsigned Start, unsigned End, unsigned Reg); - void printRegName(unsigned reg) const; }; |