Displaying 1 result from an estimated 1 matches for "path_to_my_librari".
Did you mean:
path_to_my_library
2012 Dec 10
1
[LLVMdev] issue writing llvm metadata
Hi,
I am looking to write customized metadata to a particular load instruction using LLVM transform pass (A function pass to be specific). I have the following code snippet.
> Value *CI = ConstantInt::get(getGlobalContext(), APInt(8,2));
> ArrayRef<Value*> temp = ArrayRef<Value*>( CI);
> MDNode *Node = MDNode::get(load->getContext(), temp);
>