Fix a comment.
authorOwen Anderson <resistor@mac.com>
Tue, 19 Feb 2008 06:51:23 +0000 (06:51 +0000)
committerOwen Anderson <resistor@mac.com>
Tue, 19 Feb 2008 06:51:23 +0000 (06:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47318 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/GVN.cpp

index 93e14b86c0ec7f7b866724ad25bbee2604506214..26f7cb1630a36aafbc52a7f85327c646285f5b1b 100644 (file)
@@ -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) ||