llvm-svn: 90257
This commit is contained in:
Chris Lattner 2009-12-01 21:15:15 +00:00
parent 3f4d608e3c
commit 9cd2498f45

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) {