<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 11, 2014 at 12:41 AM, Padefic <span dir="ltr"><<a href="mailto:padefic@126.com" target="_blank">padefic@126.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><span style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal">Hello,</span><div style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal">

<br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal">Clang is used before LLVM to generate IR, and is it possible to use it in a reverse way, i.e., after running LLVM passes, we can run clang again to use LLVM pass results? If so, should I write clang functions in LLVM passes, or write LLVM pass requirements in clang?</div>

<div style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal"><br></div><div style="color:rgb(34,34,34);font-family:arial;font-size:small;line-height:normal">Thank you in advance!</div></div></blockquote>

<div><br></div><div><br></div><div>Clang does not consume LLVM IR, so the answer is no. What are you trying to do?</div><div><br></div><div>Eli</div><div> </div></div></div></div>