Fix typo in assert message: s/load/store

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197846 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mark Lacey 2013-12-21 00:00:49 +00:00
parent 5f2ddd6a0c
commit efe6aa1adb

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