Skip to content
  1. Oct 11, 2013
  2. Oct 10, 2013
  3. Oct 09, 2013
  4. Oct 08, 2013
  5. Oct 07, 2013
  6. Oct 06, 2013
  7. Oct 05, 2013
    • Benjamin Kramer's avatar
      Emit a better error when running out of registers on inline asm. · 7200a46c
      Benjamin Kramer authored
      The most likely case where this error happens is when the user specifies
      too many register operands. Don't make it look like an internal LLVM bug
      when we can see that the error is coming from an inline asm instruction.
      For other instructions we keep the "ran out of registers" error.
      
      llvm-svn: 192041
      7200a46c
    • Rafael Espindola's avatar
      Remove some really nasty uses of hasRawTextSupport. · ac4ad25a
      Rafael Espindola authored
      When MC was first added, targets could use hasRawTextSupport to keep features
      working before they were added to the MC interface.
      
      The design goal of MC is to provide an uniform api for printing assembly and
      object files. Short of relaxations and other corner cases, a object file is
      just another representation of the assembly.
      
      It was never the intention that targets would keep doing things like
      
      if (hasRawTextSupport())
        Set flags in one way.
      else
        Set flags in another way.
      
      When they do that they create two code paths and the object file is no longer
      just another representation of the assembly. This also then requires testing
      with llc -filetype=obj, which is extremelly brittle.
      
      This patch removes some of these hacks by replacing them with smaller ones.
      The ARM flag setting is trivial, so I just moved it to the constructor. For
      Mips, the patch adds two temporary hack directives that allow the assembly
      to represent the same things as the object file was already able to.
      
      The hope is that the mips developers will replace the hack directives with
      the same ones that gas uses and drop the -print-hack-directives flag.
      
      I will also try to implement a target streamer interface, so that we can
      move this out of the common code.
      
      In summary, for any new work, two rules of the thumb are
        * Don't use "llc -filetype=obj" in tests.
        * Don't add calls to hasRawTextSupport.
      
      llvm-svn: 192035
      ac4ad25a
    • Craig Topper's avatar
      Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of... · a1bbc323
      Craig Topper authored
      Add OPC_CheckChildSame0-3 to the DAG isel matcher. This replaces sequences of MoveChild, CheckSame, MoveParent. Saves 846 bytes from the X86 DAG isel matcher, ~300 from ARM, ~840 from Hexagon.
      
      llvm-svn: 192026
      a1bbc323
    • Manman Ren's avatar
      Debug Info: In DIBuilder, the derived-from field of a DW_TAG_pointer_type · b3388601
      Manman Ren authored
      is updated to use DITypeRef.
      
      Move isUnsignedDIType and getOriginalTypeSize from DebugInfo.h to be static
      helper functions in DwarfCompileUnit. We already have a static helper function
      "isTypeSigned" in DwarfCompileUnit, and a pointer to DwarfDebug is added to
      resolve the derived-from field. All three functions need to go across link
      for derived-from fields, so we need to get hold of a type identifier map.
      
      A pointer to DwarfDebug is also added to DbgVariable in order to resolve the
      derived-from field.
      
      Debug info verifier is updated to check a derived-from field is a TypeRef.
      Verifier will not go across link for derived-from fields, in debug info finder,
      we go across the link to add derived-from fields to types.
      
      Function getDICompositeType is only used by dragonegg and since dragonegg does
      not generate identifier for types, we use an empty map to resolve the
      derived-from field.
      
      When printing a derived-from field, we use DITypeRef::getName to either return
      the type identifier or getName of the DIType.
      
      A paired commit at clang is required due to changes to DIBuilder.
      
      llvm-svn: 192018
      b3388601
    • Eric Christopher's avatar
      Reorganize some member variables and update a comment. · 3264a48a
      Eric Christopher authored
      llvm-svn: 192017
      3264a48a
    • Eric Christopher's avatar
      Fix one comment and update another. Slightly reformat. · 87b9c49c
      Eric Christopher authored
      llvm-svn: 192016
      87b9c49c
    • Eric Christopher's avatar
      Add a resolve method on CompileUnit that forwards to DwarfDebug. · 9e429ae7
      Eric Christopher authored
      llvm-svn: 192014
      9e429ae7
    • Adrian Prantl's avatar
      Debug info: Don't crash in SelectionDAGISel when a vreg that is being · f01b562a
      Adrian Prantl authored
      pointed to by a dbg_value belonging to a function argument is eliminated
      during instruction selection.
      rdar://problem/15094721.
      
      llvm-svn: 192011
      f01b562a
    • Eric Christopher's avatar
      Make a bunch of CompileUnit member functions private. · fa205cad
      Eric Christopher authored
      llvm-svn: 192009
      fa205cad
    • David Blaikie's avatar
      Minor formatting/comment rewording/etc. · 93ff1eb5
      David Blaikie authored
      llvm-svn: 192005
      93ff1eb5
    • Eric Christopher's avatar
      Remove odd use of this. · fe3ae441
      Eric Christopher authored
      llvm-svn: 192004
      fe3ae441
Loading