mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-16 19:19:10 +00:00
Include stub for correlated expression elimination pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ae7f759825
commit
513d3e8fc5
@ -151,6 +151,15 @@ Pass *createPromoteMemoryToRegister();
|
|||||||
//
|
//
|
||||||
Pass *createReassociatePass();
|
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…
x
Reference in New Issue
Block a user