mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +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();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// 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
Block a user