Fix typo in assert message: s/load/store

llvm-svn: 197846
This commit is contained in:
Mark Lacey 2013-12-21 00:00:49 +00:00
parent 93009f4fee
commit b8f78c7744

View File

@ -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");
}