llvm/lib
Chris Lattner 0f65cad57f move a bunch of register constraints from being handled by
getRegClassForInlineAsmConstraint to being handled by
getRegForInlineAsmConstraint.  This allows us to let the llvm register allocator
allocate, which gives us better code.  For example, X86/2007-01-29-InlineAsm-ir.ll
used to compile to:

_run_init_process:
        subl $4, %esp
        movl %ebx, (%esp)
        xorl %ebx, %ebx
        movl $11, %eax
        movl %ebx, %ecx
        movl %ebx, %edx
        # InlineAsm Start
        push %ebx ; movl %ebx,%ebx ; int $0x80 ; pop %ebx
        # InlineAsm End

Now we get:
_run_init_process:
        xorl %ecx, %ecx
        movl $11, %eax
        movl %ecx, %edx
        # InlineAsm Start
        push %ebx ; movl %ecx,%ebx ; int $0x80 ; pop %ebx
        # InlineAsm End


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35804 91177308-0d34-0410-b5e6-96231b3b80d8
2007-04-09 05:49:22 +00:00
..
Analysis Eliminate unnecessary APInt construction. 2007-04-07 17:48:27 +00:00
Archive Avoid a useless temporary constrution. 2007-04-07 19:51:45 +00:00
AsmParser Regenerate 2007-04-09 01:56:05 +00:00
Bytecode Fix a bug that caused alignment information to occasionally get stripped off 2007-04-09 03:37:36 +00:00
CodeGen implement CodeGen/X86/inline-asm-x-scalar.ll:test3 2007-04-09 05:31:20 +00:00
Debugger Make sure temporary data is not used past its life span. 2007-04-08 20:10:14 +00:00
ExecutionEngine For PR1293: 2007-03-30 16:41:50 +00:00
Linker For PR1302: 2007-04-04 06:44:18 +00:00
Support For PR1291: 2007-04-07 18:53:16 +00:00
System Unbreak VC++ build. 2007-04-07 20:47:27 +00:00
Target move a bunch of register constraints from being handled by 2007-04-09 05:49:22 +00:00
Transforms Fix PR1304 and Transforms/InstCombine/2007-04-08-SingleEltVectorCrash.ll 2007-04-09 01:37:55 +00:00
VMCore Move isReachableFromEntry out of line to avoid an unnecessary #include 2007-04-09 04:07:36 +00:00
Makefile Changes to support making the shift instructions be true BinaryOperators. 2007-02-02 02:16:23 +00:00