[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h

Chris Lattner lattner at cs.uiuc.edu
Tue Sep 14 09:34:19 PDT 2004



Changes in directory llvm/include/llvm/Transforms:

Scalar.h updated: 1.44 -> 1.45
---
Log message:

Remove unused pass


---
Diffs of the changes:  (+0 -23)

Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.44 llvm/include/llvm/Transforms/Scalar.h:1.45
--- llvm/include/llvm/Transforms/Scalar.h:1.44	Sat Jul 31 05:02:24 2004
+++ llvm/include/llvm/Transforms/Scalar.h	Tue Sep 14 11:34:08 2004
@@ -158,29 +158,6 @@
 
 //===----------------------------------------------------------------------===//
 //
-// PiNodeInsertion - This pass inserts single entry Phi nodes into basic blocks
-// that are preceeded by a conditional branch, where the branch gives
-// information about the operands of the condition.  For example, this C code:
-//   if (x == 0) { ... = x + 4;
-// becomes:
-//   if (x == 0) {
-//     x2 = phi(x);    // Node that can hold data flow information about X
-//     ... = x2 + 4;
-//
-// Since the direction of the condition branch gives information about X itself
-// (whether or not it is zero), some passes (like value numbering or ABCD) can
-// use the inserted Phi/Pi nodes as a place to attach information, in this case
-// saying that X has a value of 0 in this scope.  The power of this analysis
-// information is that "in the scope" translates to "for all uses of x2".
-//
-// This special form of Phi node is refered to as a Pi node, following the
-// terminology defined in the "Array Bounds Checks on Demand" paper.
-//
-Pass *createPiNodeInsertionPass();
-
-
-//===----------------------------------------------------------------------===//
-//
 // This pass is used to promote memory references to be register references.  A
 // simple example of the transformation performed by this pass is:
 //






More information about the llvm-commits mailing list