Skip to content
  1. May 06, 2013
    • Ulrich Weigand's avatar
      · 80435baa
      Ulrich Weigand authored
      [SystemZ] Set up JIT/MCJIT test cases
      
      This patch adds the necessary configuration bits and #ifdef's to set up
      the JIT/MCJIT test cases for SystemZ.  Like other recent targets, we do
      fully support MCJIT, but do not support the old JIT at all.  Set up the
      lit config files accordingly, and disable old-JIT unit tests.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181207
      80435baa
    • Ulrich Weigand's avatar
      · 982a2151
      Ulrich Weigand authored
      [SystemZ] Add MC test cases
      
      This adds all MC tests for the SystemZ target.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181206
      982a2151
    • Ulrich Weigand's avatar
      · 08bd6154
      Ulrich Weigand authored
      [SystemZ] Add DebugInfo test cases
      
      This adds all DebugInfo tests for the SystemZ target.
      
      This version of the patch incorporates feedback from reviews by
      Eric Christopher and Rafael Espindola.  Thanks to all reviewers!
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181205
      08bd6154
    • Ulrich Weigand's avatar
      · 9e3577ff
      Ulrich Weigand authored
      [SystemZ] Add CodeGen test cases
      
      This adds all CodeGen tests for the SystemZ target.
      
      This version of the patch incorporates feedback from a review by
      Sean Silva.  Thanks to all reviewers!
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181204
      9e3577ff
    • Ulrich Weigand's avatar
      · 5f613dfd
      Ulrich Weigand authored
      [SystemZ] Add back end
      
      This adds the actual lib/Target/SystemZ target files necessary to
      implement the SystemZ target.  Note that at this point, the target
      cannot yet be built since the configure bits are missing.  Those
      will be provided shortly by a follow-on patch.
      
      This version of the patch incorporates feedback from reviews by
      Chris Lattner and Anton Korobeynikov.  Thanks to all reviewers!
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181203
      5f613dfd
    • Tom Stellard's avatar
      R600: Update GPU variants in -mcpu option · b38600c4
      Tom Stellard authored
      We've added the RS880 variant in the LLVM backend to represent an R600
      GPU with no vertex cache, so we need to update the GPU mappings for
      -mcpu.
      
      llvm-svn: 181202
      b38600c4
    • Ulrich Weigand's avatar
      · 0213e7fc
      Ulrich Weigand authored
      [SystemZ] Define DWARF encoding
      
      This is another patch in preparation for adding the SystemZ target.
      It defines the appropriate values for DWARF encodings; the intent
      is to be compatible with what GCC currently does on the target.
      
      Patch by Richard Sandiford.
      
      llvm-svn: 181201
      0213e7fc
    • Ulrich Weigand's avatar
      · f1c30045
      Ulrich Weigand authored
      Simplify JIT unit test #ifdefs
      
      Several platforms need to disable all old-JIT unit tests, since they only
      support the new MCJIT.  This currently done via #ifdef'ing out those tests
      in the ExecutionEngine/JIT/*.cpp files.  As those #ifdef's have grown
      historically, we now have a number of repeated directives which -in total-
      cover nearly the whole file, but leave a couple of helper functions out.
      When building the tests with clang itself, those helper functions now
      cause spurious "unused function" warnings.
      
      To fix those warnings, and also to remove the duplicate #ifdef conditions
      and make it easier to disable the tests for a new target, this patch
      consolidates the #ifdefs into a single one per file, which covers all
      the tests including all helper routines.
      
      Tested on PowerPC and SystemZ.
      
      llvm-svn: 181200
      f1c30045
    • Douglas Gregor's avatar
      cf8ea44a
    • Hans Wennborg's avatar
      Add llvm_unreachable at end of fully covered switch · 9242bd1b
      Hans Wennborg authored
      To pacify GCC warning about control reaching end of non-void function.
      
      llvm-svn: 181197
      9242bd1b
    • Alexander Kornienko's avatar
      Added Mozilla style, cleaned get*Style methods. · c860266e
      Alexander Kornienko authored
      Summary: Patch based on a patch by Ehsan Akhgari.
      
      Reviewers: djasper
      
      Reviewed By: djasper
      
      CC: cfe-commits, klimek
      
      Differential Revision: http://llvm-reviews.chandlerc.com/D750
      
      llvm-svn: 181196
      c860266e
    • Rafael Espindola's avatar
      Free the exception object. Should fix the vg bots. · 57dc142d
      Rafael Espindola authored
      llvm-svn: 181195
      57dc142d
    • Sergey Matveev's avatar
      [msan] Common flags in MSan. · 6eff11e7
      Sergey Matveev authored
      llvm-svn: 181194
      6eff11e7
    • Sergey Matveev's avatar
      [asan] Common flags in ASan. · 0c8ed9ce
      Sergey Matveev authored
      Some flags that are common to ASan/MSan/TSan/LSan have been moved to
      sanitizer_common.
      
      llvm-svn: 181193
      0c8ed9ce
    • Ulrich Weigand's avatar
      · 509c240c
      Ulrich Weigand authored
      [PowerPC] Fix memory corruption in AsmParser
      
      As pointed out by Evgeniy Stepanov, assigning a std::string temporary
      to a StringRef is not a good idea.  Rework MatchRegisterName to avoid
      using the .lower routine.
      
      llvm-svn: 181192
      509c240c
    • Daniel Jasper's avatar
      Don't break comments after includes. · 4a4be018
      Daniel Jasper authored
      LLVM/Clang basically don't use such comments and for Google-style,
      include-lines are explicitly exempt from the column limit. Also, for
      most cases, where the column limit is violated, the "better" solution
      would be to move the comment to before the include, which clang-format
      cannot do (yet).
      
      llvm-svn: 181191
      4a4be018
    • Jason Molenda's avatar
      A few small fixes to make things like image list not · db7d11c7
      Jason Molenda authored
      print "//mach_kernel" if you are debugging an executable
      in the top level directory.
      
      llvm-svn: 181190
      db7d11c7
    • Duncan Sands's avatar
      Fix formatting. Patch by o11c. · 5e37e99b
      Duncan Sands authored
      llvm-svn: 181189
      5e37e99b
    • Tim Northover's avatar
      [lld][ELF] fix header comment typos · d11e5bc0
      Tim Northover authored
      llvm-svn: 181188
      d11e5bc0
    • Daniel Jasper's avatar
      Change indentation when breaking after a type. · 8e35769b
      Daniel Jasper authored
      clang-format did not indent any declarations/definitions when breaking
      after the type. With this change, it indents for all declarations but
      does not indent for function definitions, i.e.:
      
      Before:
      const SomeLongTypeName&
      some_long_variable_name;
      typedef SomeLongTypeName
      SomeLongTypeAlias;
      const SomeLongReturnType*
      SomeLongFunctionName();
      const SomeLongReturnType*
      SomeLongFunctionName() { ... }
      
      After:
      const SomeLongTypeName&
          some_long_variable_name;
      typedef SomeLongTypeName
          SomeLongTypeAlias;
      const SomeLongReturnType*
          SomeLongFunctionName();
      const SomeLongReturnType*
      SomeLongFunctionName() { ... }
      
      While it might seem inconsistent to indent function declarations, but
      not definitions, there are two reasons for that:
      - Function declarations are very similar to declarations of function
      type variables, so there is another side to consistency to consider.
      - There can be many function declarations on subsequent lines and not
      indenting can make them harder to identify. Function definitions
      are already separated by their body and not indenting
      makes the function name slighly easier to find.
      
      llvm-svn: 181187
      8e35769b
    • Michael Kuperstein's avatar
      Fix slightly too aggressive conact_vector optimization. · ac868757
      Michael Kuperstein authored
      (Would sometimes optimize away conacts used to extend a vector with undef values)
      
      llvm-svn: 181186
      ac868757
    • John McCall's avatar
      Require the containing type to be complete when we see · 768439eb
      John McCall authored
      __alignof__ of a field.
      
      This problem can only happen in C++11.
      
      Also do some petty optimizations.
      
      rdar://13784901
      
      llvm-svn: 181185
      768439eb
    • Richard Smith's avatar
      C++1y: support range-based for loops in constant expressions. · 896e0d75
      Richard Smith authored
      llvm-svn: 181184
      896e0d75
    • Daniel Jasper's avatar
      Break the class-inheritance ":" to the new line. · a61aefb3
      Daniel Jasper authored
      This seems to be more common in LLVM, Google and Chromium.
      
      Before:
      class AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA :
          public BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
          public CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC {
      };
      
      After:
      class AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
          : public BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
            public CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC {
      };
      
      llvm-svn: 181183
      a61aefb3
    • Daniel Jasper's avatar
      Don't put a space before ellipsis. · 10cd581f
      Daniel Jasper authored
      Before: template <class ... Ts> void Foo(Ts ... ts) { Foo(ts ...); }
      After:  template <class... Ts> void Foo(Ts... ts) { Foo(ts...); }
      llvm-svn: 181182
      10cd581f
    • Richard Smith's avatar
      4e18ca52
    • Bill Wendling's avatar
      Add a testcase that checks that we generate functions with frame · b07a68eb
      Bill Wendling authored
      pointers or not depending upon the function attributes.
      
      llvm-svn: 181180
      b07a68eb
    • Rafael Espindola's avatar
      XFAIL for cygwin. · 072f4d9a
      Rafael Espindola authored
      Looks like symbol resolution is not working on cygwin, the test fails
      because __gxx_personality_v0 is not found.
      
      llvm-svn: 181179
      072f4d9a
    • Nadav Rotem's avatar
      Update the comment to mention that we use TTI. · 632b25b7
      Nadav Rotem authored
      llvm-svn: 181178
      632b25b7
    • Nadav Rotem's avatar
      Revert r164763 because it introduces new shuffles. · c70ef4e9
      Nadav Rotem authored
      Thanks Nick Lewycky for pointing this out.
      
      llvm-svn: 181177
      c70ef4e9
    • Matt Arsenault's avatar
      Fix unchecked uses of DominatorTree in MemoryDependenceAnalysis. · c23753a5
      Matt Arsenault authored
      Use unknown results for places where it would be needed
      
      llvm-svn: 181176
      c23753a5
    • Rafael Espindola's avatar
      Fix const merging when an alias of a const is llvm.used. · c229a4ff
      Rafael Espindola authored
      We used to disable constant merging not only if a constant is llvm.used, but
      also if an alias of a constant is llvm.used. This change fixes that.
      
      llvm-svn: 181175
      c229a4ff
    • Richard Smith's avatar
      Fix assert if __extension__ or _Generic is used when initializing a char array... · d74b1606
      Richard Smith authored
      Fix assert if __extension__ or _Generic is used when initializing a char array from a string literal.
      
      llvm-svn: 181174
      d74b1606
    • Richard Smith's avatar
      243ef907
    • Rafael Espindola's avatar
      This should also fail on ARM. · f48af0ae
      Rafael Espindola authored
      We currently have no way to register new eh frames on ARM.
      
      llvm-svn: 181172
      f48af0ae
  2. May 05, 2013
Loading