aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-02-19 06:51:23 +0000
committerOwen Anderson <resistor@mac.com>2008-02-19 06:51:23 +0000
commitf928eb65017d9b38db3bbd08140d1717c22f0e5c (patch)
treeb4fac127a6f699d58c7c229c16a03ab9f24a3a6b
parent9ff8884a38f1d981ae638546058e5cff0f8a5ed9 (diff)
downloadexternal_llvm-f928eb65017d9b38db3bbd08140d1717c22f0e5c.zip
external_llvm-f928eb65017d9b38db3bbd08140d1717c22f0e5c.tar.gz
external_llvm-f928eb65017d9b38db3bbd08140d1717c22f0e5c.tar.bz2
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47318 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Scalar/GVN.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/GVN.cpp b/lib/Transforms/Scalar/GVN.cpp
index 93e14b8..26f7cb1 100644
--- a/lib/Transforms/Scalar/GVN.cpp
+++ b/lib/Transforms/Scalar/GVN.cpp
@@ -1090,7 +1090,7 @@ bool GVN::performReturnSlotOptzn(MemCpyInst* cpy, CallInst* C,
// Since this is a return slot optimization, we need to make sure that
// the value being copied is, in fact, in a return slot. We also need to
// check that the return slot parameter is marked noalias, so that we can
- // be sure that changing it will cause unexpected behavior changes due
+ // be sure that changing it will not cause unexpected behavior changes due
// to it being accessed through a global or another parameter.
if (CS.arg_size() == 0 ||
cpySrc != CS.getArgument(0) ||