[llvm-commits] atomics memoperands patch

Mon P Wang wangmp at apple.com
Thu Jun 19 18:19:07 PDT 2008


Hi,

Like loads/stores, atomics touches memory and should have an  
associated MemOperand with the operation.  The following patch creates  
an abstract class MemSDNode that all nodes  which have an associated  
MemOperand need to inherit to.  It also creates a new property  
SDNPMemOperand that indicates that a node touches memory and has an  
associated MemOperand.If you have any comments, please let me know.

Thanks,
   -- Mon Ping

-------------- next part --------------
A non-text attachment was scrubbed...
Name: memop.patch
Type: application/octet-stream
Size: 21530 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080619/7f5d51b5/attachment.obj>


More information about the llvm-commits mailing list