Skip to content
  1. Dec 12, 2013
  2. Dec 11, 2013
    • Alp Toker's avatar
      Remove extra qualification to fix build with g++ after r197076 · 7afe9908
      Alp Toker authored
      llvm-svn: 197086
      7afe9908
    • Rui Ueyama's avatar
      Add .clang-format file to ensure C++11 LLVM coding style. · 9e7b3cb0
      Rui Ueyama authored
      llvm-svn: 197085
      9e7b3cb0
    • Hal Finkel's avatar
      Add two additional hazard recognizer functions · 4fd3b1de
      Hal Finkel authored
      This adds two additional functions to the hazard recognizer interface. These
      are optional (in the sense that the default implementations preserve the
      current behavior), and used by the post-RA scheduler. Upcoming commits will use
      this functionality in order to improve dispatch-group formation on the POWER7
      and related cores. Dispatch groups are an odd construct: sometimes we need to
      insert nops to force a new one to start (for performance reasons), and some
      instructions need to appear in certain positions within a group, but the groups
      are not fundamentally cycle based (they can contain instructions with data
      dependencies with non-trivial latencies).
      
      Motivation:
      
      unsigned PreEmitNoops(SUnit *) - Used to force the post-RA scheduler to insert
      nops to force a new dispatch group to begin. We already have a NoopHazard, and
      this is also still needed. However, NoopHazard only causes a nop to be inserted
      if there are no other available instructions, and so is not always sufficient.
      The number of nops to insert depends on state that only the hazard recognizer
      has, so a general callback is necessary.
      
      bool ShouldPreferAnother(SUnit *) - Used to avoid scheduling instructions that
      would start a new dispatch group when others are available that could be part
      of the current dispatch group. In this case, we don't want to issue nops,
      because the non-preferred instruction will implicitly start a new dispatch
      group regardless.
      
      Although the motivation for these functions is driven by the PowerPC backend,
      they are completely general.
      
      llvm-svn: 197084
      4fd3b1de
    • Warren Hunt's avatar
      [ms-abi][cleanup] Removing FinalizeCXXLayout : no functional change · c3384317
      Warren Hunt authored
      After r196549 there is no need to separate FinalizeCXXLayout and 
      FinalizeLayout so they were merged and FinalizeCXXLayout was eliminated.
      
      llvm-svn: 197083
      c3384317
    • Aaron Ballman's avatar
      No longer accepting attribute spellings with prefix and suffix underscores... · c6988099
      Aaron Ballman authored
      No longer accepting attribute spellings with prefix and suffix underscores except for GNU attributes, or C++11-style attributes in the GNU namespace. This prevents attributes such as __declspec(__dllexport__) or [[__noreturn__]] from being treated as known attributes.
      
      llvm-svn: 197082
      c6988099
    • Roman Divacky's avatar
      Merge all tls tests to two files. One for normal codegen (initial and local · 1bab7058
      Roman Divacky authored
      exec) and one for PIC codegen (local and general dynamic).
      
      llvm-svn: 197081
      1bab7058
    • Rafael Espindola's avatar
      On ELF and COFF treat linker_private like private. · 2b5a0c9e
      Rafael Espindola authored
      The linkers on these systems don't have anything special to do with these
      symbols. Since the intent is for them to be absent from the final object,
      just treat them as private.
      
      llvm-svn: 197080
      2b5a0c9e
    • David Blaikie's avatar
      Revert "DebugInfo: Move type units into the debug_types section with... · 727747eb
      David Blaikie authored
      Revert "DebugInfo: Move type units into the debug_types section with appropriate comdat grouping and type unit headers"
      
      This reverts commit r197073.
      
      The test seems to be failing on some buildbots for unknown reasons.
      Reverting until I can figure that out. If anyone's got a reproduction
      (.s and .o together would be great) - I'd really appreciate it.
      
      llvm-svn: 197079
      727747eb
Loading