mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-02 18:31:54 +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;
|
||||
}
|
||||
|
||||
NumSRET++;
|
||||
// [1] Replace use of sret parameter
|
||||
AllocaInst *TheAlloca = new AllocaInst (STy, NULL, "mrv",
|
||||
F->getEntryBlock().begin());
|
||||
|
Loading…
x
Reference in New Issue
Block a user