<div dir="ltr">Deer All,<div><br></div><div>I wanted to write MachineFunctionPass which needs to be run after global register allocation pass. </div><div>I have read LLVM documentation and blogs and able to write simple pass which will is invoked through opt command line.</div><div> <br></div><div>However, I could able to find any blogs or document to explains clear steps for writing MachineFunctionPass.</div><div><br></div><div>Please suggest some documents or blogs which will help me write MachineFunctionPass.</div><div><br></div><div>Any help is going to be appreciated.</div><div><br></div><div>Thanks,<br></div><div>Bala</div></div>