[llvm-commits] patch: mdnode .bc format change

Devang Patel devang.patel at gmail.com
Wed Jul 22 16:11:40 PDT 2009


On Tue, Jul 21, 2009 at 9:51 AM, Devang Patel<devang.patel at gmail.com> wrote:
> On Mon, Jul 20, 2009 at 10:33 PM, Nick Lewycky<nicholas at mxc.ca> wrote:
>
>>> I am moving in a direction where metadata is not derived from
>>> Constant. I will introduce new block in bitcode to hold metadata
>>> strings and nodes.
>>
>> Okay. I assume this goes with removing the uniqueness property from MDNode?
>
> No.

I may have misinterpreted your question. So may be, yes :)

MDNode will continue to use FoldingSetNode to avoid creating duplicate
nodes. However when an MDNode element is RAUW'ed then it is possible
that resulting MDNode may match another existing MDNode.

-
Devang



More information about the llvm-commits mailing list