forked from OSchip/llvm-project
Fix typo in assert message: s/load/store
llvm-svn: 197846
This commit is contained in:
parent
b60a3d5bc1
commit
1d7c97eff3
|
@ -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");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue