mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-30 20:34:21 +00:00
LangRef: Add usage points for distinct MDNodes
Omission pointed out by Sean Silva! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225479 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f081ff786f
commit
cce3a8acec
@ -2854,6 +2854,10 @@ Metadata nodes that aren't uniqued use the ``distinct`` keyword. For example:
|
||||
|
||||
!0 = distinct !{!"test\00", i32 10}
|
||||
|
||||
``distinct`` nodes are useful when nodes shouldn't be merged based on their
|
||||
content. They can also occur when transformations cause uniquing collisions
|
||||
when metadata operands change.
|
||||
|
||||
A :ref:`named metadata <namedmetadatastructure>` is a collection of
|
||||
metadata nodes, which can be looked up in the module symbol table. For
|
||||
example:
|
||||
|
Loading…
x
Reference in New Issue
Block a user