diff options
author | Owen Anderson <resistor@mac.com> | 2008-02-19 06:51:23 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-02-19 06:51:23 +0000 |
commit | e71d6e37b2f7e34ddfc0327051ce4f333693646c (patch) | |
tree | b40b100b294323a6070bb986f22fb26049266940 /llvm/lib | |
parent | d2d7c6b30967a8ffc949d1c8c238f2fa6a851bb4 (diff) | |
download | bcm5719-llvm-e71d6e37b2f7e34ddfc0327051ce4f333693646c.tar.gz bcm5719-llvm-e71d6e37b2f7e34ddfc0327051ce4f333693646c.zip |
Fix a comment.
llvm-svn: 47318
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Transforms/Scalar/GVN.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/GVN.cpp b/llvm/lib/Transforms/Scalar/GVN.cpp index 93e14b86c0e..26f7cb1630a 100644 --- a/llvm/lib/Transforms/Scalar/GVN.cpp +++ b/llvm/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) || |