aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms
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
commit9cffa9a6ed754a480dc73db0e8a5b0d846ba2dde (patch)
treeb4fac127a6f699d58c7c229c16a03ab9f24a3a6b /lib/Transforms
parent851bfff50f7251e4d00b5fffbb5e140544cc4a63 (diff)
Fix a comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47318 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-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 93e14b86c0..26f7cb1630 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) ||