<div dir="ltr">Hi, <div><br></div><div>Is there a way to associate LLVM IR instructions with the instructions they finally generate in the assembly file emitted by LLC? I need to track the PC's corresponding to certain IR level instructions for ARM. </div>

<div>One way to do this is to tag an IR instruction with a special flag and pass that flag onto the Machine IR created by LLC and then onto Machine Code. It would be helpful if I could get some pointers on how to do this. </div>

<div><br></div><div>Thanks in advance, </div><div> <br><div dir="ltr">Shruti Padmanabha<div>University of Michigan, Ann Arbor</div></div>
</div></div>