projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae7f759
)
Include stub for correlated expression elimination pass
author
Chris Lattner
<sabre@nondot.org>
Fri, 6 Sep 2002 18:39:29 +0000
(18:39 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/llvm/Transforms/Scalar.h
b/include/llvm/Transforms/Scalar.h
index b1a4340c1f518833a55138fa9ffeea4c18aafbb2..2649366ff450aaf9b28062e3e75b7bb324c7ae4b 100644
(file)
--- a/
include/llvm/Transforms/Scalar.h
+++ b/
include/llvm/Transforms/Scalar.h
@@
-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();
//===----------------------------------------------------------------------===//
//