mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-24 08:29:39 +00:00
finish a half formed thought :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a8969a7e2
commit
cc0a0299d9
@ -60,7 +60,10 @@ InlinedArrayAllocasTy;
|
||||
/// do so and update the CallGraph for this operation.
|
||||
///
|
||||
/// This function also does some basic book-keeping to update the IR. The
|
||||
/// InlinedArrayAllocas map keeps track of any
|
||||
/// InlinedArrayAllocas map keeps track of any allocas that are already
|
||||
/// available from other functions inlined into the caller. If we are able to
|
||||
/// inline this call site we attempt to reuse already available allocas or add
|
||||
/// any new allocas to the set if not possible.
|
||||
static bool InlineCallIfPossible(CallSite CS, CallGraph &CG,
|
||||
const TargetData *TD,
|
||||
InlinedArrayAllocasTy &InlinedArrayAllocas) {
|
||||
|
Loading…
Reference in New Issue
Block a user