diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2008-09-19 17:38:47 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2008-09-19 17:38:47 +0000 |
| commit | 4c0197043c6e38d734813b71b81b2e093bf202b6 (patch) | |
| tree | 1d53a934f3a4abb5bd8bc5e5ff6aecb00dc49a94 /llvm/lib/CodeGen/SimpleRegisterCoalescing.h | |
| parent | a5bf9cb4be20d55c566de035a88ca21d6b074645 (diff) | |
| download | bcm5719-llvm-4c0197043c6e38d734813b71b81b2e093bf202b6.tar.gz bcm5719-llvm-4c0197043c6e38d734813b71b81b2e093bf202b6.zip | |
Re-materalized definition instructions may be dead. Whack them.
llvm-svn: 56352
Diffstat (limited to 'llvm/lib/CodeGen/SimpleRegisterCoalescing.h')
| -rw-r--r-- | llvm/lib/CodeGen/SimpleRegisterCoalescing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SimpleRegisterCoalescing.h b/llvm/lib/CodeGen/SimpleRegisterCoalescing.h index 39c90716b60..330c476dbf5 100644 --- a/llvm/lib/CodeGen/SimpleRegisterCoalescing.h +++ b/llvm/lib/CodeGen/SimpleRegisterCoalescing.h @@ -100,6 +100,10 @@ namespace llvm { /// SmallPtrSet<MachineInstr*, 32> ReMatCopies; + /// ReMatDefs - Keep track of definition instructions which have + /// been remat'ed. + SmallPtrSet<MachineInstr*, 8> ReMatDefs; + public: static char ID; // Pass identifcation, replacement for typeid SimpleRegisterCoalescing() : MachineFunctionPass(&ID) {} |

