mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-26 22:34:39 +00:00
recommit simplification (r109502, backed out r109509); seems to innocent
llvm-svn: 109510
This commit is contained in:
parent
c95e84ab61
commit
2778a21978
@ -373,7 +373,7 @@ bool MemCpyOpt::processStore(StoreInst *SI, BasicBlock::iterator &BBI) {
|
||||
// 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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user