[llvm-commits] MemIntrinsicNode patch

Evan Cheng evan.cheng at apple.com
Thu Oct 16 22:59:47 PDT 2008


+/// Memory intrinsic node
+// This node is used for target intrinsic that touches memory and  
need an
+// associated memory operan

// -> /// :-)

+  /// getMemIntrinsicNode - Gets a MemIntrinsicNode
+SDValue getMemIntrinsicNode(unsigned Opcode,
+                            const MVT *VTs, unsigned NumVTs,
+                            const SDValue *Ops, unsigned NumOps,
+                            MVT MemVT, const Value *srcValue, int  
SVOff,
+                            unsigned Align = 0, bool Vol = false,
+                            bool ReadMem = true, bool WriteMem = true);

Extra spaces before ///? Also please end a sentence with a period (or  
Chris' head will explode. :-)

Looks great. Thanks!

Evan

On Oct 16, 2008, at 4:12 PM, Mon Ping Wang wrote:

> Hi,
>
> Here is a patch to introduce a memory intrinsic node.  The node is  
> useful when one has a target specific intrinsic that touches memory  
> and needs to be associated with a MemOperand.
>
> -- Mon Ping
>
> <memintrin.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list