diff options
author | Chris Lattner <sabre@nondot.org> | 2010-11-21 19:05:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-11-21 19:05:34 +0000 |
commit | 6ffdd45d865bce08a90b877e5e0281e146da5b3a (patch) | |
tree | a6807d1536846582c0e875ee8c1ff0472b474565 /lib/Transforms | |
parent | 8bc1e4529528a22c16dc7803951a91fafbde11bb (diff) | |
download | external_llvm-6ffdd45d865bce08a90b877e5e0281e146da5b3a.zip external_llvm-6ffdd45d865bce08a90b877e5e0281e146da5b3a.tar.gz external_llvm-6ffdd45d865bce08a90b877e5e0281e146da5b3a.tar.bz2 |
fix comment
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r-- | lib/Transforms/Scalar/MemCpyOptimizer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/MemCpyOptimizer.cpp b/lib/Transforms/Scalar/MemCpyOptimizer.cpp index edb2038..8aeaa99 100644 --- a/lib/Transforms/Scalar/MemCpyOptimizer.cpp +++ b/lib/Transforms/Scalar/MemCpyOptimizer.cpp @@ -834,7 +834,6 @@ bool MemCpyOpt::processByValArgument(CallSite CS, unsigned ArgNo) { return false; // The length of the memcpy must be larger or equal to the size of the byval. - // must be larger than the following one. ConstantInt *C1 = dyn_cast<ConstantInt>(MDep->getLength()); if (C1 == 0 || C1->getValue().getZExtValue() < ByValSize) return false; |