On Thu, Aug 15, 2013 at 5:11 AM, Kyriakos Georgiou <
Kyriakos.Georgiou at bristol.ac.uk> wrote:
> Hi,
>
> I want to remove metadata from an instruction. Is there any way doing this
> in my pass?
>
> Regards,
> Kyriakos
>
The Instruction class has this method:
/// setMetadata - Set the metadata of the specified kind to the specified
/// node. This updates/replaces metadata if already present, or removes
it if
/// Node is null.
void setMetadata(unsigned KindID, MDNode *Node);
void setMetadata(StringRef Kind, MDNode *Node);
Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20130815/ff470b89/attachment.html>