Skip to content
  1. Sep 09, 2016
  2. Sep 02, 2016
  3. Aug 30, 2016
  4. Aug 17, 2016
  5. Aug 11, 2016
  6. Aug 08, 2016
  7. Aug 05, 2016
  8. Aug 04, 2016
  9. Aug 03, 2016
  10. Jul 29, 2016
  11. Jul 22, 2016
    • Samuel Antao's avatar
      Replace enum types in variadic functions by build-in types. · 71fef77d
      Samuel Antao authored
      Summary:
      When compiling the runtime library with clang we get warnings like:
      ```
      error: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Werror,-Wvarargs]
          va_start( args, id );
                          ^
      note: parameter of type 'kmp_i18n_id_t' (aka 'kmp_i18n_id') is declared here
          kmp_i18n_id_t id,
      ```
      My understanding is that the va_start macro only gets the promoted type so it won't know what was the exact type of the argument, which can potentially not work for some targets given that the implementation of the the calling convention could not be done properly.
      
      This patch fixes that by using a built-in type in the function signature.
      
      Reviewers: tlwilmar, jlpeyton, AndreyChurbanov
      
      Subscribers: arpith-jacob, carlo.bertolli, caomhin, openmp-commits
      
      Differential Revision: https://reviews.llvm.org/D22427
      
      llvm-svn: 276428
      71fef77d
  12. Jul 11, 2016
  13. Jul 08, 2016
  14. Jul 06, 2016
    • Jonathan Peyton's avatar
      Fix the nowait tests for omp for and omp single · 741b7092
      Jonathan Peyton authored
      These tests are now modeled after the sections nowait test where threads wait
      to be released in the first construct (either for or single) and the last thread
      skips the last for/single construct and releases those threads.  If the test
      fails, then it hangs because an unnecessary barrier is executed in between the
      constructs.
      
      llvm-svn: 274641
      741b7092
  15. Jul 04, 2016
  16. Jul 01, 2016
  17. Jun 29, 2016
    • Jonathan Peyton's avatar
      Fix omp_sections_nowait.c test to address Bugzilla Bug 28336 · fdcca8cd
      Jonathan Peyton authored
      This rewrite of the omp_sections_nowait.c test file causes it to hang if the
      nowait is not respected. If the nowait isn't respected, the lone thread which
      can escape the first sections construct will just sleep at a barrier which
      shouldn't exist. All reliance on timers is taken out. For good measure, the test
      makes sure that all eight sections are executed as well. The test should take no
      longer than a few seconds on any modern machine.
      
      Differential Revision: http://reviews.llvm.org/D21842
      
      llvm-svn: 274151
      fdcca8cd
  18. Jun 28, 2016
    • Jonathan Peyton's avatar
      Fix bugs in TAS and futex lock · ac7ba406
      Jonathan Peyton authored
      * Incorrect lock value written in __kmp_test_futex_lock
      * Incorrect lock value check in tas/futex lock with USE_LOCK_PROFILE on
      
      Patch by Hansang Bae
      
      llvm-svn: 274053
      ac7ba406
    • Jonathan Peyton's avatar
      Revert r273898's UNICODE quick fix in favor of CMake's remove_definitions() · cceebeef
      Jonathan Peyton authored
      UNICODE and _UNICODE defintions were added in the LLVM CMake build system.
      While on Unices, the UNICODE/_UNICODE macros don't cause problems, on Windows
      only ittnotify_static.c should be compiled using -DUNICODE.  We are still
      looking at a proper fix, but this change sets the build back to exactly what it
      was doing before.  Also, a comment and TODO were added in the src/CMakeLists.txt
      file to help explain.
      
      llvm-svn: 274052
      cceebeef
  19. Jun 27, 2016
    • Hans Wennborg's avatar
      Fix the Windows build after r273599 · 8065c518
      Hans Wennborg authored
      That patch made all LLVM projects build with -DUNICODE. However, this doesn't
      work for the OpenMP runtime.
      
      But just overriding the flag with -UUNICODE breaks compiling ittnotify_static.c,
      which for some reason needs to be compiled with -DUNICIODE. Note that compiling
      ittnotify.h with -DUNICODE does not work though.
      
      This seems like a mess. This commit fixes it for now, but it would be great
      if someone who works on the OpenMP runtime could fix it properly.
      
      llvm-svn: 273898
      8065c518
  20. Jun 23, 2016
  21. Jun 22, 2016
  22. Jun 21, 2016
Loading