[llvm-dev] Metadata in LLVM back-end

Son Tuan VU via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 22 05:31:18 PDT 2020


Hi all,

Currently metadata (other than debug info) can be attached to IR
instructions but disappears during DAG selection.

My question is why we do not keep the metadata during code lowering and
then attach to MachineInstr, just as for IR instructions? Is there any
technical challenge, or is it only because nobody wants to do so?

Thanks for your help,

Best,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200722/30139c05/attachment.html>


More information about the llvm-dev mailing list