mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 02:33:53 +00:00
back out this too to restore the bots
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
49d0bca86c
commit
5b0c25313e
@ -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(BI)) ==
|
||||
if (AA.getModRefBehavior(CallSite::get(BI)) ==
|
||||
AliasAnalysis::DoesNotAccessMemory)
|
||||
continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user