<div dir="ltr">As an LLVM beginner it took me a long time to figure out the correct API calls to implement the self-referencing metadata required by llvm.loop. Perhaps this patch can save others in a similar situation some trouble in the future.<div>
<br></div><div style>This patch is also a sanity check of my own understanding. Therefore, if it is totally off-base then I apologize for the noise :)</div><div style><br></div><div style>Kindly,</div><div style>Josh</div>
<div style><br></div></div>