1. Jul 27, 2017
  2. Jul 26, 2017
    • Dehao Chen's avatar
      Update the assertion to meet with the changes in r309121. (NFC) · 641f387c
      Dehao Chen authored
      llvm-svn: 309125
      641f387c
    • Simon Pilgrim's avatar
      [X86] Add combineBT test failure because bits have multiple uses. · 01ab86e6
      Simon Pilgrim authored
      llvm-svn: 309124
      01ab86e6
    • Brian Gesiak's avatar
      [lit] Mark several of lit's tests XFAIL on Windows · 0787253c
      Brian Gesiak authored
      Summary:
      rL257221 attempted to run lit's own test suite continuously, but that
      commit was reverted because lit's test suite does not pass on Windows.
      Because lit's tests do not run continuously, they often regress.
      
      In order to un-revert rL257221, mark lit tests that fail as XFAIL for
      Windows platforms.
      
      Test Plan:
      On a Windows development environment, follow the instructions in
      utils/lit/README.txt to run lit's test suite:
      
      ```
      utils/lit/lit.py \
          --path /path/to/your/llvm/build/bin \
          utils/lit/tests
      ```
      
      Verify that the test suite is run and a successful exit code is
      returned.
      
      Reviewers: mgorny, rnk, delcypher, beanz
      
      Reviewed By: rnk
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35879
      
      llvm-svn: 309123
      0787253c
    • Brian Gesiak's avatar
      [lit] Fix type error for parallelism groups · 5e7c089b
      Brian Gesiak authored
      Summary:
      Whereas rL299560 and rL309071 call `parallelism_groups.items()`, under the
      assumption that `parallelism_groups` is a `dict` type, the default
      parameter for that attribute is a `list`. Change the default to a
      `dict` for type correctness.
      
      This regression in the unit tests would have been caught if the
      unit tests were being run continously. It also would have been caught
      if the lit project used a Python type checker such as `mypy`.
      
      Test Plan:
      As per the instructions in `utils/lit/README.txt`, run the lit unit
      test suite:
      
      ```
      utils/lit/lit.py \
          --path /path/to/your/llvm/build/bin \
          utils/lit/tests
      ```
      
      Verify that the test `lit :: unit/TestRunner.py` fails before applying this
      patch, but passes once this patch is applied.
      
      Reviewers: mgorny, rnk, rafael
      
      Reviewed By: mgorny
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35878
      
      llvm-svn: 309122
      5e7c089b
    • Dehao Chen's avatar
      Make new PM honor -fdebug-info-for-profiling · e90d0153
      Dehao Chen authored
      Summary: The new PM needs to invoke add-discriminator pass when building with -fdebug-info-for-profiling.
      
      Reviewers: chandlerc, davidxl
      
      Reviewed By: chandlerc
      
      Subscribers: sanjoy, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35744
      
      llvm-svn: 309121
      e90d0153
    • Brian Gesiak's avatar
      Revert "[lit] Remove dead code not referenced in the LLVM SVN repo." · 6d8de5ce
      Brian Gesiak authored
      Summary:
      This reverts rL306623, which removed `FileBasedTest`, an abstract base class,
      but did not also remove the usages of that class in the lit unit tests.
      The revert fixes four test failures in the lit unit test suite.
      
      Test plan:
      As per the instructions in `utils/lit/README.txt`, run the lit unit
      test suite:
      
      ```
      utils/lit/lit.py \
          --path /path/to/your/llvm/build/bin \
          utils/lit/tests
      ```
      
      Verify that the following tests fail before applying this patch, and
      pass once the patch is applied:
      
      ```
      lit :: test-data.py
      lit :: test-output.py
      lit :: xunit-output.py
      ```
      
      In addition, run `check-llvm` to make sure the existing LLVM test suite
      executes normally.
      
      Reviewers: george.karpenkov, mgorny, dlj
      
      Reviewed By: mgorny
      
      Subscribers: llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D35877
      
      llvm-svn: 309120
      6d8de5ce
    • Roman Gareev's avatar
      [ScheduleOptimizer] Translate to C++ bindings · 2e580538
      Roman Gareev authored
      
      
      Translate the ScheduleOptimizer to use the new isl C++ bindings.
      
      Reviewed-by: default avatarMichael Kruse <llvm@meinersbur.de>
      
      Differential Revision: https://reviews.llvm.org/D35845
      
      llvm-svn: 309119
      2e580538