[llvm-commits] [llvm] r109510 - /llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp
Gabor Greif
ggreif at gmail.com
Tue Jul 27 09:44:23 PDT 2010
Author: ggreif
Date: Tue Jul 27 11:44:23 2010
New Revision: 109510
URL: http://llvm.org/viewvc/llvm-project?rev=109510&view=rev
Log:
recommit simplification (r109502, backed out r109509); seems to innocent
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=109510&r1=109509&r2=109510&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/MemCpyOptimizer.cpp Tue Jul 27 11:44:23 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