aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2007-10-31 03:37:57 +0000
committerOwen Anderson <resistor@mac.com>2007-10-31 03:37:57 +0000
commit4ae2d3f502fa779adb0a93c56c9c14f3c66f517c (patch)
tree774d10b929a31ad6e1de1b38bc51104504fef86f /include/llvm/CodeGen
parent444710d3e044f06eea20ce1206dc096b095c3efd (diff)
downloadexternal_llvm-4ae2d3f502fa779adb0a93c56c9c14f3c66f517c.zip
external_llvm-4ae2d3f502fa779adb0a93c56c9c14f3c66f517c.tar.gz
external_llvm-4ae2d3f502fa779adb0a93c56c9c14f3c66f517c.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/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/Passes.h8
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.