diff options
| author | Mon P Wang <wangmp@apple.com> | 2008-06-25 08:15:39 +0000 |
|---|---|---|
| committer | Mon P Wang <wangmp@apple.com> | 2008-06-25 08:15:39 +0000 |
| commit | 28873106309db515d58889a4c4fa3e0a92d1b60e (patch) | |
| tree | 55754230852c1d76c8058edec38ed42a47b3ddc7 /utils/TableGen/CodeGenTarget.h | |
| parent | ea9e516e86b3a6ca1b3a5b374365735e1cca414d (diff) | |
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
Diffstat (limited to 'utils/TableGen/CodeGenTarget.h')
| -rw-r--r-- | utils/TableGen/CodeGenTarget.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/TableGen/CodeGenTarget.h b/utils/TableGen/CodeGenTarget.h index 1191488430..f53b6a99c1 100644 --- a/utils/TableGen/CodeGenTarget.h +++ b/utils/TableGen/CodeGenTarget.h @@ -30,6 +30,8 @@ struct CodeGenRegister; class CodeGenTarget; // SelectionDAG node properties. +// SDNPMemOperand: indicates that a node touches memory and therefore must +// have an associated memory operand that describes the access. enum SDNP { SDNPCommutative, SDNPAssociative, @@ -39,7 +41,8 @@ enum SDNP { SDNPOptInFlag, SDNPMayLoad, SDNPMayStore, - SDNPSideEffect + SDNPSideEffect, + SDNPMemOperand }; // ComplexPattern attributes. |
