mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add an early implementation of a partial inlining pass. The idea behind this
is that, for functions whose bodies are entirely guarded by an if-statement, it can be profitable to pull the test out of the callee and into the caller. This code has had some cursory testing, but still has a number of known issues on the LLVM test suite. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73338 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -214,6 +214,11 @@ Pass *createFunctionAttrsPass();
|
||||
///
|
||||
ModulePass *createMergeFunctionsPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
/// createPartialInliningPass - This pass inlines parts of functions.
|
||||
///
|
||||
ModulePass *createPartialInliningPass();
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user