[llvm-commits] [llvm] r109502 - /llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Gabor Greif
ggreif at gmail.com
Tue Jul 27 06:31:22 PDT 2010
Author: ggreif
Date: Tue Jul 27 08:31:22 2010
New Revision: 109502
URL: http://llvm.org/viewvc/llvm-project?rev=109502&view=rev
Log:
simplify
Modified:
llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp?rev=109502&r1=109501&r2=109502&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp Tue Jul 27 08:31:22 2010
@@ -373,7 +373,7 @@
// If the call is readnone, ignore it, otherwise bail out. We don't even
// allow readonly here because we don't want something like:
// A[1] = 2; strlen(A); A[2] = 2; -> memcpy(A, ...); strlen(A).
- if (AA.getModRefBehavior(CallSite::get(BI)) ==
+ if (AA.getModRefBehavior(CallSite(BI)) ==
AliasAnalysis::DoesNotAccessMemory)
continue;
More information about the llvm-commits
mailing list