[LLVMdev] Assembly Mips from bitecode llvm

Akira Hatanaka ahatanak at gmail.com
Tue Mar 6 12:11:40 PST 2012


Can you use clang?
llvm-gcc has been deprecated and it generates incorrect bitcode for mips.

The benchmark programs you are running, including the ones that
failed, are in the llvm test-suite,
and they are all passing on my local machine. I think they should
compile if you switch to using ToT clang & llvm.

On Tue, Mar 6, 2012 at 10:55 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
>> llvm-gcc (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2.9)
>> Copyright (C) 2007 Free Software Foundation, Inc.
> Here I assume that your llvm-gcc is for x86-64-linux, since there was
> no MIPS release.
> So, you're feeding x86-oriented IR to MIPS backend. This won't work,
> you will need to provide MIPS-aware IR.
>
> Also, in 2.9 the MIPS was definitely not so mature. Hopefully MIPS
> folks can comment on this.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list