mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-20 16:17:38 +00:00
Added MemOperands to Atomic operations since Atomics touches memory.
Added abstract class MemSDNode for any Node that have an associated MemOperand Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and atomic.lss => atomic.load.sub git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52706 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -366,6 +366,8 @@ ComplexPattern::ComplexPattern(Record *R) {
|
||||
Properties |= 1 << SDNPMayLoad;
|
||||
} else if (PropList[i]->getName() == "SDNPSideEffect") {
|
||||
Properties |= 1 << SDNPSideEffect;
|
||||
} else if (PropList[i]->getName() == "SDNPMemOperand") {
|
||||
Properties |= 1 << SDNPMemOperand;
|
||||
} else {
|
||||
cerr << "Unsupported SD Node property '" << PropList[i]->getName()
|
||||
<< "' on ComplexPattern '" << R->getName() << "'!\n";
|
||||
|
||||
Reference in New Issue
Block a user