diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-01-27 06:11:41 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-01-27 06:11:41 +0000 |
commit | ab54b8d41562808047b1ad8ec7af5cf25ec6d0d6 (patch) | |
tree | 52541f887421145410a4b9dad77119abc0e45601 /include/llvm/Transforms/Scalar.h | |
parent | 00d6306a51b2869b40b203d8e060654cf3500918 (diff) | |
download | external_llvm-ab54b8d41562808047b1ad8ec7af5cf25ec6d0d6.zip external_llvm-ab54b8d41562808047b1ad8ec7af5cf25ec6d0d6.tar.gz external_llvm-ab54b8d41562808047b1ad8ec7af5cf25ec6d0d6.tar.bz2 |
The CorrelatedExpressionElimination pass is known to be buggy. Remove it.
This fixes PR1769.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46408 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 4e3b21a..8e06dc8 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -184,17 +184,6 @@ FunctionPass *createReassociatePass(); //===----------------------------------------------------------------------===// // -// CorrelatedExpressionElimination - This pass eliminates correlated -// conditions, such as these: -// if (X == 0) -// if (X > 2) ; // Known false -// else -// Y = X * Z; // = 0 -// -FunctionPass *createCorrelatedExpressionEliminationPass(); - -//===----------------------------------------------------------------------===// -// // CondPropagationPass - This pass propagates information about conditional // expressions through the program, allowing it to eliminate conditional // branches in some cases. |