forked from OSchip/llvm-project
Include stub for correlated expression elimination pass
llvm-svn: 3597
This commit is contained in:
parent
cb29fd5695
commit
1ff9162127
|
@ -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();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue