Add missing break statements! Thanks to Duncan Sands for pointing this out!
authorNick Lewycky <nicholas@mxc.ca>
Thu, 15 Oct 2009 18:48:58 +0000 (18:48 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 15 Oct 2009 18:48:58 +0000 (18:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84191 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BasicAliasAnalysis.cpp

index c5be6167e060e46eeb9dc9eaeb54fb7cfa1069e9..70626df9ede84b3619fc6cb1559a58eabf9fc37d 100644 (file)
@@ -358,11 +358,13 @@ BasicAliasAnalysis::getModRefInfo(CallSite CS, Value *P, unsigned Size) {
         if (alias(II->getOperand(2), PtrSize, P, Size) == NoAlias)
           return NoModRef;
       }
+      break;
       case Intrinsic::invariant_end: {
         unsigned PtrSize = cast<ConstantInt>(II->getOperand(2))->getZExtValue();
         if (alias(II->getOperand(3), PtrSize, P, Size) == NoAlias)
           return NoModRef;
       }
+      break;
       }
     }
   }