Skip to content

Commit f159085

Browse files
committed
recommit simplification (r109502, backed out r109509); seems to innocent
llvm-svn: 109510
1 parent 5f91b7c commit f159085

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ bool MemCpyOpt::processStore(StoreInst *SI, BasicBlock::iterator &BBI) {
373373
// If the call is readnone, ignore it, otherwise bail out. We don't even
374374
// allow readonly here because we don't want something like:
375375
// A[1] = 2; strlen(A); A[2] = 2; -> memcpy(A, ...); strlen(A).
376-
if (AA.getModRefBehavior(CallSite::get(BI)) ==
376+
if (AA.getModRefBehavior(CallSite(BI)) ==
377377
AliasAnalysis::DoesNotAccessMemory)
378378
continue;
379379

0 commit comments

Comments
 (0)