[LLVMdev] A question about running Clang after LLVM passes

Eli Bendersky eliben at google.com
Thu Jun 12 08:58:42 PDT 2014


On Wed, Jun 11, 2014 at 12:41 AM, Padefic <padefic at 126.com> wrote:

> Hello,
>
> 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?
>
> Thank you in advance!
>


Clang does not consume LLVM IR, so the answer is no. What are you trying to
do?

Eli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140612/416acce4/attachment.html>


More information about the llvm-dev mailing list