OSDN Git Service

Fix typo in assert message: s/load/store
authorMark Lacey <mark.lacey@apple.com>
Sat, 21 Dec 2013 00:00:49 +0000 (00:00 +0000)
committerMark Lacey <mark.lacey@apple.com>
Sat, 21 Dec 2013 00:00:49 +0000 (00:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197846 91177308-0d34-0410-b5e6-96231b3b80d8

lib/IR/Instructions.cpp

index 795e5fa..761f600 100644 (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");
 }