<div dir="auto">Hi all,<div dir="auto"><br></div><div dir="auto">Currently metadata (other than debug info) can be attached to IR instructions but disappears during DAG selection.</div><div dir="auto"><br></div><div dir="auto">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?</div><div dir="auto"><br></div><div dir="auto">Thanks for your help,</div><div dir="auto"><br></div><div dir="auto">Best,</div></div>