Last active
May 10, 2017 05:50
-
-
Save annanay25/5c4f47ab96cba1f0220f49b455fb191b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void BlockGenerator::copyInstruction(...){ | |
. | |
. | |
. | |
// Skip some special intrinsics for which we do not adjust the semantics to | |
// the new schedule. All others are handled like every other instruction. | |
if (isIgnoredIntrinsic(Inst)){ | |
IntrinsicInst *IT = dyn_cast<IntrinsicInst>(Inst); | |
if(IT->getIntrinsicID() == llvm::Intrinsic::expect){ | |
Instruction *ValInst = dyn_cast<Instruction>(dyn_cast<CallInst>(Inst)->getArgOperand(0)); | |
copyInstScalar(Stmt, ValInst, BBMap, LTS); | |
} | |
return; | |
} | |
. | |
. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment