diff options
author | Owen Anderson <resistor@mac.com> | 2007-10-31 03:37:57 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2007-10-31 03:37:57 +0000 |
commit | 0bda0e8895285c3a03c8859e11f2fff69861fd9d (patch) | |
tree | 774d10b929a31ad6e1de1b38bc51104504fef86f /include | |
parent | 5d32ec4cb002973cb12bc21a3fe12364794168c8 (diff) | |
download | external_llvm-0bda0e8895285c3a03c8859e11f2fff69861fd9d.zip external_llvm-0bda0e8895285c3a03c8859e11f2fff69861fd9d.tar.gz external_llvm-0bda0e8895285c3a03c8859e11f2fff69861fd9d.tar.bz2 |
Add the skeleton of a better PHI elimination pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/CodeGen/Passes.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index ed96b40..5e93525 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -44,6 +44,14 @@ namespace llvm { /// these register allocator like this: AU.addRequiredID(PHIEliminationID); /// extern const PassInfo *PHIEliminationID; + + /// StrongPHIElimination pass - This pass eliminates machine instruction PHI + /// nodes by inserting copy instructions. This destroys SSA information, but + /// is the desired input for some register allocators. This pass is + /// "required" by these register allocator like this: + /// AU.addRequiredID(PHIEliminationID); + /// This pass is still in development + extern const PassInfo *StrongPHIEliminationID; /// SimpleRegisterCoalescing pass. Aggressively coalesces every register /// copy it can. |