forked from OSchip/llvm-project
parent
9f9fe70b11
commit
b4c610fb89
|
@ -2372,7 +2372,7 @@ void CWriter::lowerIntrinsics(Function &F) {
|
||||||
|
|
||||||
// Examine all the instructions in this function to find the intrinsics that
|
// Examine all the instructions in this function to find the intrinsics that
|
||||||
// need to be lowered.
|
// need to be lowered.
|
||||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
|
for (Function::iterator BB = F.begin(), EE = F.end(); BB != EE; ++BB)
|
||||||
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; )
|
for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; )
|
||||||
if (CallInst *CI = dyn_cast<CallInst>(I++))
|
if (CallInst *CI = dyn_cast<CallInst>(I++))
|
||||||
if (Function *F = CI->getCalledFunction())
|
if (Function *F = CI->getCalledFunction())
|
||||||
|
|
Loading…
Reference in New Issue