mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-13 16:03:55 +00:00
Revert part of r289765 that is not necessary
CS.doesNotAccessMemory(ArgNo) and CS.onlyReadsMemory(ArgNo) calls dataOperandHasImpliedAttr, so revert this part of r289765 because it should not be necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289768 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
954db62a26
commit
d11334d8af
@ -470,9 +470,9 @@ ModRefInfo AAResults::callCapturesBefore(const Instruction *I,
|
|||||||
// escape.
|
// escape.
|
||||||
if (isNoAlias(MemoryLocation(*CI), MemoryLocation(Object)))
|
if (isNoAlias(MemoryLocation(*CI), MemoryLocation(Object)))
|
||||||
continue;
|
continue;
|
||||||
if (ArgNo < CS.getNumArgOperands() && CS.doesNotAccessMemory(ArgNo))
|
if (CS.doesNotAccessMemory(ArgNo))
|
||||||
continue;
|
continue;
|
||||||
if (ArgNo < CS.getNumArgOperands() && CS.onlyReadsMemory(ArgNo)) {
|
if (CS.onlyReadsMemory(ArgNo)) {
|
||||||
R = MRI_Ref;
|
R = MRI_Ref;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user