From: Chris Lattner Date: Tue, 14 Sep 2004 16:34:08 +0000 (+0000) Subject: Remove unused pass X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=264532cd31a5f2d36ddf570edc44b26b8e565328;p=oota-llvm.git Remove unused pass git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16338 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 4db4ab7da11..a950b1b6245 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -156,29 +156,6 @@ FunctionPass *createLoopUnswitchPass(); FunctionPass *createLoopUnrollPass(); -//===----------------------------------------------------------------------===// -// -// 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