Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bitcode: Add METADATA_NODE and METADATA_VALUE | Duncan P. N. Exon Smith | 2014-12-11 | 1 | -0/+0 |
This reflects the typelessness of `Metadata` in the bitcode format, removing types from all metadata operands. `METADATA_VALUE` represents a `ValueAsMetadata`, and always has two fields: the type and the value. `METADATA_NODE` represents an `MDNode`, and unlike `METADATA_OLD_NODE`, doesn't store types. It stores operands at their ID+1 so that `0` can reference `nullptr` operands. Part of PR21532. llvm-svn: 224073 |