llvm-svn: 90257
This commit is contained in:
Chris Lattner 2009-12-01 21:15:15 +00:00
parent b2ae02979f
commit 506b858c45
1 changed files with 3 additions and 1 deletions

View File

@ -183,7 +183,9 @@ getPointerDependencyFrom(Value *MemPtr, uint64_t MemSize, bool isLoad,
if (invariantTag == Inst) {
invariantTag = 0;
continue;
} else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
}
if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(Inst)) {
// If we pass an invariant-end marker, then we've just entered an
// invariant region and can start ignoring dependencies.
if (II->getIntrinsicID() == Intrinsic::invariant_end) {