[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Christopher Lattner
lattner at cs.uiuc.edu
Fri Sep 6 13:40:01 PDT 2002
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.7 -> 1.8
---
Log message:
Include stub for correlated expression elimination pass
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.7 llvm/include/llvm/Transforms/Scalar.h:1.8
--- llvm/include/llvm/Transforms/Scalar.h:1.7 Tue Jul 23 14:37:38 2002
+++ llvm/include/llvm/Transforms/Scalar.h Fri Sep 6 13:39:29 2002
@@ -151,6 +151,15 @@
//
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();
//===----------------------------------------------------------------------===//
//
More information about the llvm-commits
mailing list