1. Oct 13, 2018
    • Michal Gorny's avatar
      [tests] Readd Python binding tests to check-all · e67b68f3
      Michal Gorny authored
      Now that both issues found out during the last iteration have been
      fixed, reenable the Python binding tests on buildbots.
      
      llvm-svn: 344365
      e67b68f3
    • Michal Gorny's avatar
      [python] [tests] Remove cdb lookup failure test · 4fc27bd9
      Michal Gorny authored
      Remove the test checking for compilation db lookup failure.
      Since r342228, JSONCompilationDatabasePlugin infers compile commands for
      missing files, therefore making the lookup always succeed.
      
      Differential Revision: https://reviews.llvm.org/D53202
      
      llvm-svn: 344364
      4fc27bd9
    • Sam McCall's avatar
      cbf497f4
    • Zachary Turner's avatar
      Fix one additional test broken by the YAML quoting change. · 359544ac
      Zachary Turner authored
      llvm-svn: 344362
      359544ac
    • Sanjay Patel's avatar
      [x86] add and use fast horizontal vector math subtarget feature · e28c8ecd
      Sanjay Patel authored
      This is the planned follow-up to D52997. Here we are reducing horizontal vector math codegen 
      by default. AMD Jaguar (btver2) should have no difference with this patch because it has 
      fast-hops. (If we want to set that bit for other CPUs, let me know.)
      
      The code changes are small, but there are many test diffs. For files that are specifically 
      testing for hops, I added RUNs to distinguish fast/slow, so we can see the consequences 
      side-by-side. For files that are primarily concerned with codegen other than hops, I just 
      updated the CHECK lines to reflect the new default codegen.
      
      To recap the recent horizontal op story:
      
      1. Before rL343727, we were producing hops for all subtargets for a variety of patterns. 
         Hops were likely not optimal for all targets though.
      2. The IR improvement in r343727 exposed a hole in the backend hop pattern matching, so 
         we reduced hop codegen for all subtargets. That was bad for Jaguar (PR39195).
      3. We restored the hop codegen for all targets with rL344141. Good for Jaguar, but 
         probably bad for other CPUs.
      4. This patch allows us to distinguish when we want to produce hops, so everyone can be 
         happy. I'm not sure if we have the best predicate here, but the intent is to undo the 
         extra hop-iness that was enabled by r344141.
      
      Differential Revision: https://reviews.llvm.org/D53095
      
      llvm-svn: 344361
      e28c8ecd
    • Nick Desaulniers's avatar
      [MC][ELF] fix newly added test · 47bab69a
      Nick Desaulniers authored
      Summary:
      Reland of
      - r344197 "[MC][ELF] compute entity size for explicit sections"
      - r344206 "[MC][ELF] Fix section_mergeable_size.ll"
      after being reverted in r344278 due to build breakages from not
      specifying a target triple.
      
      Move test from test/CodeGen/Generic/ to test/MC/ELF/.
      Add explicit target triple so we don't try to run
      this test on non ELF targets.
      
      Reported: https://reviews.llvm.org/D53056#1261707
      
      Reviewers: fhahn, rnk, espindola, NoQ
      
      Reviewed By: fhahn, rnk
      
      Subscribers: NoQ, MaskRay, rengolin, emaste, arichardson, llvm-commits, pirama, srhines
      
      Differential Revision: https://reviews.llvm.org/D53146
      
      llvm-svn: 344360
      47bab69a
    • Zachary Turner's avatar
      Make YAML quote forward slashes. · 9f169afa
      Zachary Turner authored
      If you have the string /usr/bin, prior to this patch it would not
      be quoted by our YAML serializer.  But a string like C:\src would
      be, due to the presence of a backslash.  This makes the quoting
      rules of basically every single file path different depending on
      the path syntax (posix vs. Windows).
      
      While technically not required by the YAML specification to quote
      forward slashes, when the behavior of paths is inconsistent it
      makes it difficult to portably write FileCheck lines that will
      work with either kind of path.
      
      Differential Revision: https://reviews.llvm.org/D53169
      
      llvm-svn: 344359
      9f169afa
    • Zachary Turner's avatar
      Revert "Make YAML quote forward slashes." · 9c544199
      Zachary Turner authored
      This reverts commit b86c16ad8c97dadc1f529da72a5bb74e9eaed344.
      
      This is being reverted because I forgot to write a useful
      commit message, so I'm going to resubmit it with an actual
      commit message.
      
      llvm-svn: 344358
      9c544199
    • Zachary Turner's avatar
      Make YAML quote forward slashes. · ec234052
      Zachary Turner authored
      llvm-svn: 344357
      ec234052
    • Alexey Bataev's avatar
      [OPENMP][NVPTX]Reduce memory usage in orphaned functions. · 9bfe91da
      Alexey Bataev authored
      if the function has globalized variables and called in context of
      target/teams/distribute regions, it does not need to globalize 32
      copies of the same variables for memory coalescing, it is enough to
      have just one copy, because there is parallel region.
      Patch does this by adding call for `__kmpc_parallel_level` function and
      checking its return value. If the code sees that the parallel level is
      0, then only one variable is allocated, not 32.
      
      llvm-svn: 344356
      9bfe91da
  2. Oct 12, 2018