mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 05:31:06 +00:00
Add expr reassociation pass prototype
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2558 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8947fbcb68
commit
540d63cbc7
@ -110,6 +110,16 @@ Pass *createInstructionCombiningPass();
|
||||
Pass *createPromoteMemoryToRegister();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// This pass reassociates commutative expressions in an order that is designed
|
||||
// to promote better constant propogation, GCSE, LICM, PRE...
|
||||
//
|
||||
// For example: 4 + (x + 5) -> x + (4 + 5)
|
||||
//
|
||||
Pass *createReassociatePass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
//
|
||||
// These functions removes symbols from functions and modules.
|
||||
|
Loading…
Reference in New Issue
Block a user