[LLVMdev] A question about running Clang after LLVM passes

Bruce Hoult bruce at hoult.org
Thu Jun 12 13:43:15 PDT 2014


However, LLVM can output using the C back end ... which you can then feed
into Clang.


On Fri, Jun 13, 2014 at 3:58 AM, Eli Bendersky <eliben at google.com> wrote:

>
>
>
> 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
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140613/0042acee/attachment.html>


More information about the llvm-dev mailing list