[llvm-commits] [llvm] r84191 - /llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Nick Lewycky
nicholas at mxc.ca
Thu Oct 15 11:48:59 PDT 2009
Author: nicholas
Date: Thu Oct 15 13:48:58 2009
New Revision: 84191
URL: http://llvm.org/viewvc/llvm-project?rev=84191&view=rev
Log:
Add missing break statements! Thanks to Duncan Sands for pointing this out!
Modified:
llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
Modified: llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp?rev=84191&r1=84190&r2=84191&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/BasicAliasAnalysis.cpp Thu Oct 15 13:48:58 2009
@@ -358,11 +358,13 @@
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;
}
}
}
More information about the llvm-commits
mailing list