[llvm-commits] [llvm] r47318 - /llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Owen Anderson
resistor at mac.com
Mon Feb 18 22:51:23 PST 2008
Author: resistor
Date: Tue Feb 19 00:51:23 2008
New Revision: 47318
URL: http://llvm.org/viewvc/llvm-project?rev=47318&view=rev
Log:
Fix a comment.
Modified:
llvm/trunk/lib/Transforms/Scalar/GVN.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/GVN.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/GVN.cpp?rev=47318&r1=47317&r2=47318&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/GVN.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/GVN.cpp Tue Feb 19 00:51:23 2008
@@ -1090,7 +1090,7 @@
// 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) ||
More information about the llvm-commits
mailing list