Increment counter that keeps track of total number of sret promoted.

llvm-svn: 47892
This commit is contained in:
Devang Patel 2008-03-04 17:48:11 +00:00
parent aef77854f9
commit a880f004e8

View File

@ -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());