[llvm-dev] Automake Assembler Assumptions with LLVM-MC

John Leidel (jleidel) via llvm-dev llvm-dev at lists.llvm.org
Thu May 19 07:53:57 PDT 2016


We are in a similar situation.  We technically have a pseudo-functional clang frontend, but many of our initial developers work directly in assembly.  

I was able to get our user off the ground using our version of clang.  However, I also agree that we do a significant amount of testing/work with early architectures using llvm-mc (especially when we’re only bouncing code off simulators).    

John D. Leidel


On May 19, 2016, at 8:33 AM, John Reagan via llvm-dev <llvm-dev at lists.llvm.org> wrote:

> 
> On Wed, May 18, 2016 at 01:10:50PM +0000, Daniel Sanders via llvm-dev wrote:
>> It's my understanding that llvm-mc is intended to be a testing tool
>> for LLVM developers rather than an assembler for end users. Users
>> should be assembling with clang.
> 
> Not all LLVM users are clang users.  For example, we're using LLVM to build
> OpenVMS cross-compilers to x86 for our porting effort.  We have our own set
> of frontends.  We're using llvm-mc as our assembler for the lower level OS
> code. 
> 
> We'll eventually port clang as well to bootstrap going forward, but OpenVMS
> doesn't have the same kind of driver-style so even there, I can't just the
> 'clang' command to control assembly.
> 
> As for bug-for-bug compatibility in any sort of software, that's a tough choice.
> Traditionally, I've resisted such pressure but sooner or later, I've had to give
> in now and then.  As for the command line option matching, that is an area I
> wouldn't attempt to match since such options vary greatly across platforms.
> 
> John
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev



More information about the llvm-dev mailing list