Comment-ify.

llvm-svn: 80009
This commit is contained in:
Owen Anderson 2009-08-25 17:42:07 +00:00
parent f18cae4979
commit 4e9ac2a34b
1 changed files with 3 additions and 0 deletions

View File

@ -361,6 +361,9 @@ Function *CodeExtractor::constructFunction(const Values &inputs,
return newFunction;
}
/// FindPhiPredForUseInBlock - Given a value and a basic block, find a PHI
/// that uses the value within the basic block, and return the predecessor
/// block associated with that use, or return 0 if none is found.
static BasicBlock* FindPhiPredForUseInBlock(Value* Used, BasicBlock* BB) {
for (Value::use_iterator UI = Used->use_begin(),
UE = Used->use_end(); UI != UE; ++UI) {