Include stub for correlated expression elimination pass
authorChris Lattner <sabre@nondot.org>
Fri, 6 Sep 2002 18:39:29 +0000 (18:39 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 6 Sep 2002 18:39:29 +0000 (18:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3597 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Scalar.h

index b1a4340c1f518833a55138fa9ffeea4c18aafbb2..2649366ff450aaf9b28062e3e75b7bb324c7ae4b 100644 (file)
@@ -151,6 +151,15 @@ Pass *createPromoteMemoryToRegister();
 //
 Pass *createReassociatePass();
 
+//===----------------------------------------------------------------------===//
+//
+// This pass eliminates correlated conditions, such as these:
+//  if (X == 0)
+//    if (X > 2)     // Known false
+//    else
+//      Y = X * Z;   // = 0
+//
+Pass *createCorrelatedExpressionEliminationPass();
 
 //===----------------------------------------------------------------------===//
 //