<div dir="ltr"><div><div>Hello,<br><br></div>I am writing a MachineFunctionPass that inspects the generated machine code, and examines each opcode and its corresponding operands. If the 'instruction + operands' match a particular sequence, then the pass should replace them with a fixed instruction + operands sequence. I tried using MachineInstr's getOpcode and getOperand functions but the pass didn't work as expected. <br><br></div>Kindly tell me how to proceed or point to appropriate references. Thank you !<br clear="all"><div><div><div><div><div><br>-- <br><div dir="ltr">Regards,<div>Sachin</div></div>
</div></div></div></div></div></div>