Skip to content
  1. May 03, 2012
  2. May 02, 2012
  3. May 01, 2012
    • Sirish Pande's avatar
      Target independent Hexagon Packetizer fix. · 94212168
      Sirish Pande authored
      llvm-svn: 155947
      94212168
    • Jim Grosbach's avatar
      ARM: Add a few missing add->sub aliases w/ 'w' suffix. · 1d20efb8
      Jim Grosbach authored
      Aliases for adding a negative immediate when using an explicit 'w'
      suffix. E.g.,
              adds.w r2, #-16
              adds.w r2, r2, #-16
              addw r2, #-16
              addw r2, #-16
              addw r2, r2, #-16
      
      rdar://11330769
      
      llvm-svn: 155946
      1d20efb8
    • Jim Grosbach's avatar
      ARM: allow vanilla expressions for movw/movt. · 70bed4fa
      Jim Grosbach authored
      Expressions for movw/movt don't always have an :upper16: or :lower16:
      on them and that's ok. When they don't, it's just a plain [0-65536]
      immediate result, effectively the same as a :lower16: variant kind.
      
      rdar://10550147
      
      llvm-svn: 155941
      70bed4fa
    • 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
    • Jim Grosbach's avatar
      MC: Unknown assembler directives are now hard errors. · 758e0cc9
      Jim Grosbach authored
      Previously, an unsupported/unknown assembler directive issued a warning.
      That's generally unsafe, and inconsistent with the behaviour of pretty
      much every system assembler. Now that the MC assemblers are mature
      enough to be the default on multiple targets, it's reasonable to
      issue errors for these.
      
      For target or platform directives that need to stay warnings, we
      should add explicit handlers for them in, e.g., ELFAsmParser.cpp,
      DarwinAsmParser.cpp, et. al., and issue the warning there.
      
      rdar://9246275
      
      llvm-svn: 155926
      758e0cc9
    • Jim Grosbach's avatar
      MC: Remove errant EatToEndOfStatement() in asm parser. · a0c53f14
      Jim Grosbach authored
      The caller is already responsible for eating any additional input on the
      line. Putting an additional EatToEndOfStatement() in ParseStatement()
      causes an entire extra statement to be consumed when treating warnings
      as errors. For example, test/MC/macros.s will assert() because the
      .endmacro directive is missed as a result.
      
      rdar://11355843
      
      llvm-svn: 155925
      a0c53f14
    • 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
    • Benjamin Kramer's avatar
      Move MipsDisassembler classes into an anonymous namespace. · cb3e98cf
      Benjamin Kramer authored
      llvm-svn: 155915
      cb3e98cf
    • Jay Foad's avatar
      Regression test for PR2960. · 8fc810c2
      Jay Foad authored
      llvm-svn: 155912
      8fc810c2
Loading