mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Remove IntrWriteMem, as it's the default. Rename IntrWriteArgMem
to IntrReadWriteArgMem, as it's for reading as well as writing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2197,10 +2197,10 @@ private:
|
||||
if (IntInfo->ModRef >= CodeGenIntrinsic::ReadArgMem)
|
||||
mayLoad = true;// These may load memory.
|
||||
|
||||
if (IntInfo->ModRef >= CodeGenIntrinsic::WriteArgMem)
|
||||
if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteArgMem)
|
||||
mayStore = true;// Intrinsics that can write to memory are 'mayStore'.
|
||||
|
||||
if (IntInfo->ModRef >= CodeGenIntrinsic::WriteMem)
|
||||
if (IntInfo->ModRef >= CodeGenIntrinsic::ReadWriteMem)
|
||||
// WriteMem intrinsics can have other strange effects.
|
||||
HasSideEffects = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user