[llvm] r197846 - Fix typo in assert message: s/load/store
Mark Lacey
mark.lacey at apple.com
Fri Dec 20 16:00:49 PST 2013
Author: rudkx
Date: Fri Dec 20 18:00:49 2013
New Revision: 197846
URL: http://llvm.org/viewvc/llvm-project?rev=197846&view=rev
Log:
Fix typo in assert message: s/load/store
Modified:
llvm/trunk/lib/IR/Instructions.cpp
Modified: llvm/trunk/lib/IR/Instructions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Instructions.cpp?rev=197846&r1=197845&r2=197846&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Instructions.cpp (original)
+++ llvm/trunk/lib/IR/Instructions.cpp Fri Dec 20 18:00:49 2013
@@ -1083,7 +1083,7 @@ void StoreInst::AssertOK() {
cast<PointerType>(getOperand(1)->getType())->getElementType()
&& "Ptr must be a pointer to Val type!");
assert(!(isAtomic() && getAlignment() == 0) &&
- "Alignment required for atomic load");
+ "Alignment required for atomic store");
}
More information about the llvm-commits
mailing list