[LangRef] Clarify support for multiple metadata attachments with same id
authorTeresa Johnson <tejohnson@google.com>
Mon, 19 Jul 2021 19:35:45 +0000 (12:35 -0700)
committerTeresa Johnson <tejohnson@google.com>
Mon, 19 Jul 2021 20:18:47 +0000 (13:18 -0700)
commit54c8902f02361114f9485f6de907d71623d6a50c
tree747b6308aec5b0bcd6ade8025bf14b52a50e4b26
parent51e62e56f7edaab7dddfe48fb709b6d8ca952909
[LangRef] Clarify support for multiple metadata attachments with same id

As discussed on D105251, currently the compiler does not support
multiple metadata attachments on instructions having the same
identifier, whereas it does for global objects. Note this in the
Language Reference manual for clarity.

See D105251 for discussions of history behind this divergence, and the
complexities and possible approaches of adding this support to
instructions in the future.

Differential Revision: https://reviews.llvm.org/D106304
llvm/docs/LangRef.rst