forked from OSchip/llvm-project
parent
8790a22a30
commit
e09a4f8515
|
@ -1094,8 +1094,8 @@ bool MyCollector::performCustomLowering(Function &F) {
|
|||
bool MadeChange = false;
|
||||
|
||||
for (Function::iterator BB = F.begin(), E = F.end(); BB != E; ++BB)
|
||||
for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; ++II)
|
||||
if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II))
|
||||
for (BasicBlock::iterator II = BB->begin(), E = BB->end(); II != E; )
|
||||
if (IntrinsicInst *CI = dyn_cast<IntrinsicInst>(II++))
|
||||
if (Function *F = CI->getCalledFunction())
|
||||
switch (F->getIntrinsicID()) {
|
||||
case Intrinsic::gcwrite:
|
||||
|
|
Loading…
Reference in New Issue