mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-10 02:36:06 +00:00
This debug info special case should no longer
be needed now that these intrinsics are marked as not accessing memory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66420 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ea3a9ff53d
commit
ee199f72bb
@ -147,10 +147,6 @@ bool FunctionAttrs::AddReadAttrs(const std::vector<CallGraphNode *> &SCC) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// Ignore dbg info intrinsics.
|
||||
if (isa<DbgInfoIntrinsic>(I))
|
||||
continue;
|
||||
|
||||
// Any remaining instructions need to be taken seriously! Check if they
|
||||
// read or write memory.
|
||||
if (I->mayWriteToMemory())
|
||||
|
Loading…
x
Reference in New Issue
Block a user