Skip to content
  1. May 11, 2012
  2. May 10, 2012
  3. May 09, 2012
  4. May 08, 2012
  5. May 07, 2012
  6. May 06, 2012
  7. May 05, 2012
  8. May 04, 2012
  9. May 03, 2012
  10. May 02, 2012
  11. May 01, 2012
    • Preston Gurd's avatar
      · 5ae5278c
      Preston Gurd authored
      This patch marks the X86 floating point stack registers ST0-ST7 as reserved
      in order to avoid assertion failures in the register scavenger. The assertion
      failures were “Bad machine code: Using an undefined physical register” and
      “Bad machine code: MBB exits via unconditional fall-through but its successor
      differs from its CFG successor!”.
      
      llvm-svn: 155930
      5ae5278c
    • Manman Ren's avatar
      X86: optimization for max-like struct · 425a55c1
      Manman Ren authored
      This patch will optimize the following cases on X86
      (a > b) ? (a-b) : 0
      (a >= b) ? (a-b) : 0
      (b < a) ? (a-b) : 0
      (b <= a) ? (a-b) : 0
      
      FROM
      movl    %edi, %ecx
      subl    %esi, %ecx
      cmpl    %edi, %esi
      movl    $0, %eax
      cmovll  %ecx, %eax
      TO
      xorl    %eax, %eax
      subl    %esi, %edi
      cmovll  %eax, %edi
      movl    %edi, %eax
      
      rdar: 10734411
      llvm-svn: 155919
      425a55c1
    • Alexey Samsonov's avatar
      X86: Use StackRegister instead of FrameRegister in getFrameIndexReference (to... · c4b3ad81
      Alexey Samsonov authored
      X86: Use StackRegister instead of FrameRegister in getFrameIndexReference (to generate debug info for local variables) if stack needs realignment
      
      llvm-svn: 155917
      c4b3ad81
    • Bill Wendling's avatar
      Change the PassManager from a reference to a pointer. · b12f16e7
      Bill Wendling authored
      The TargetPassManager's default constructor wants to initialize the PassManager
      to 'null'. But it's illegal to bind a null reference to a null l-value. Make the
      ivar a pointer instead.
      PR12468
      
      llvm-svn: 155902
      b12f16e7
Loading