mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-09 05:47:13 +00:00
Increment counter that keeps track of total number of sret promoted.
llvm-svn: 47892
This commit is contained in:
parent
aef77854f9
commit
a880f004e8
@ -94,6 +94,7 @@ bool SRETPromotion::PromoteReturn(CallGraphNode *CGN) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NumSRET++;
|
||||||
// [1] Replace use of sret parameter
|
// [1] Replace use of sret parameter
|
||||||
AllocaInst *TheAlloca = new AllocaInst (STy, NULL, "mrv",
|
AllocaInst *TheAlloca = new AllocaInst (STy, NULL, "mrv",
|
||||||
F->getEntryBlock().begin());
|
F->getEntryBlock().begin());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user