summaryrefslogtreecommitdiff
path: root/lib/IR/Instructions.cpp
diff options
context:
space:
mode:
authorMark Lacey <mark.lacey@apple.com>2013-12-21 00:00:49 +0000
committerMark Lacey <mark.lacey@apple.com>2013-12-21 00:00:49 +0000
commitefe6aa1adb625dc3027c5e47466e694b4ac2e1d8 (patch)
treeea6ca6c66cf72cd8e47dfc58d2ed72b825f596aa /lib/IR/Instructions.cpp
parent5f2ddd6a0c7ebdfba32e1a0c7084eee55972d142 (diff)
downloadllvm-efe6aa1adb625dc3027c5e47466e694b4ac2e1d8.tar.gz
llvm-efe6aa1adb625dc3027c5e47466e694b4ac2e1d8.tar.bz2
llvm-efe6aa1adb625dc3027c5e47466e694b4ac2e1d8.tar.xz
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
Diffstat (limited to 'lib/IR/Instructions.cpp')
-rw-r--r--lib/IR/Instructions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Instructions.cpp b/lib/IR/Instructions.cpp
index 795e5fae5b..761f60063f 100644
--- a/lib/IR/Instructions.cpp
+++ b/lib/IR/Instructions.cpp
@@ -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");
}