[llvm-commits] [llvm] r46485 - in /llvm/trunk: include/llvm/Target/TargetLowering.h lib/CodeGen/AsmPrinter.cpp lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp lib/CodeGen/SelectionDAG/TargetLowering.cpp lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h

Chris Lattner clattner at apple.com
Mon Jan 28 20:29:50 PST 2008


On Jan 28, 2008, at 6:21 PM, Dale Johannesen wrote:

> Author: johannes
> Date: Mon Jan 28 20:21:21 2008
> New Revision: 46485
>
> URL: http://llvm.org/viewvc/llvm-project?rev=46485&view=rev
> Log:
> Handle 'X' constraint in asm's better.

Hey Dale,

Can this be done in llvm-gcc?  It seems better to only expose  
'simplified' constraints to the llvm code generator.  This means the  
target hooks would become wonderful macros in i386.h for example, but  
that seems tolerable.

It also might be possible to iterate over the constraint letters  
somehow in GCC, which would make it possible to implement this in a  
target independent way.

What do you think?

-Chris




More information about the llvm-commits mailing list