Mentions légales du service

Skip to content
Snippets Groups Projects
  1. Feb 07, 2017
  2. Jan 24, 2017
    • Thierry's avatar
      [extend] __kmpc_omp_task_alloc with ndeps and ndeps_nolias informations · 3365a3fa
      Thierry authored
      - code generated by the compiler is binary compatible with old library: these two fields are not viewed by older library.
      - those informations are only take into account iff specific depsinalloc tasking_flags is set.
      This extension would be used to store dependent list to the task in order to test Kaapi scheduler based on affinity defined by dependencies
      or to reduce overhead of OMPT to track data access per task.
      3365a3fa
  3. Jan 17, 2017
  4. Jan 13, 2017
  5. Nov 30, 2016
  6. Nov 24, 2016
  7. Nov 23, 2016
  8. Nov 21, 2016
  9. Nov 17, 2016
  10. Nov 16, 2016
  11. Nov 15, 2016
    • Alexey Bataev's avatar
      Merging r287025: · 4d6150a4
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r287025 | abataev | 2016-11-15 20:57:18 +0000 (Tue, 15 Nov 2016) | 3 lines
      
      [OPENMP] Fix stack use after delete, NFC.
      
      Fixed possible use of stack variable after deletion.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@287033 91177308-0d34-0410-b5e6-96231b3b80d8
      4d6150a4
    • Alexey Bataev's avatar
      Merging r283223: · e3bdc860
      Alexey Bataev authored
      r283223 | davidsh | 2016-10-04 10:41:36 -0400 (Tue, 04 Oct 2016) | 1 line
      
      [OpenMP] fix segfault when a variable referenced in reduction clause is a reference parameter
      Differential Revision: http://reviews.llvm.org/D24524
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286972 91177308-0d34-0410-b5e6-96231b3b80d8
      e3bdc860
    • Alexey Bataev's avatar
      Merging r284229: · 2f4cac2c
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r284229 | abataev | 2016-10-14 12:43:59 +0000 (Fri, 14 Oct 2016) | 37 lines
      
      Fix for PR30632: Name mangling issue.
      
      There was a bug in the implementation of captured statements. If it has
      a lambda expression in it and the same lambda expression is used outside
      the captured region, clang produced an error:
      ```
      error: definition with same mangled name as another definition
      ```
      Here is an example:
      ```
      struct A {
       template <typename L>
       void g(const L&) { }
      };
      
      template<typename T>
      void f() {
        {
          A().g([](){});
        }
        A().g([](){});
      }
      
      int main() {
        f<void>();
      }
      ```
      
      Error report:
      ```
      main.cpp:3:10: error: definition with same mangled name as another
      definition
          void g(const L&) { }
                   ^
      main.cpp:3:10: note: previous definition is here
      ```
      Patch fixes this bug.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286970 91177308-0d34-0410-b5e6-96231b3b80d8
      2f4cac2c
    • Alexey Bataev's avatar
      Merging r286944: · a3283d64
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r286944 | abataev | 2016-11-15 09:11:50 +0000 (Tue, 15 Nov 2016) | 6 lines
      
      [OPENMP] Fixed codegen for 'omp cancel' construct.
      
      If 'omp cancel' construct is used in a worksharing construct it may cause
      hanging of the software in case if reduction clause is used. Patch fixes
      this problem by avoiding extra reduction processing for branches that
      were canceled.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286968 91177308-0d34-0410-b5e6-96231b3b80d8
      a3283d64
    • Alexey Bataev's avatar
      Merging r286584: · 91a680c7
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r286584 | abataev | 2016-11-11 12:36:20 +0000 (Fri, 11 Nov 2016) | 31 lines
      
      Fix for PR28523: unexpected compilation error.
      
      Clang emits error message for the following code:
      ```
      template <class F> void parallel_loop(F &&f) { f(0); }
      
      int main() {
        int x;
        parallel_loop([&](auto y) {
          {
            x = y;
          };
        });
      }
      ```
      
      $ clang++ --std=gnu++14 clang_test.cc -o clang_test
      clang_test.cc:9:7: error: reference to local variable 'x' declared in enclosing function 'main'
            x = y;
                  ^
      clang_test.cc:2:48: note: in instantiation of function template specialization 'main()::(anonymous class)::operator()<int>' requested here
                  template <class F> void parallel_loop(F &&f) { f(0); }
                                                                 ^
      clang_test.cc:6:3: note: in instantiation of function template specialization 'parallel_loop<(lambda at clang_test.cc:6:17)>' requested here parallel_loop([&](auto y) {
                 ^
      clang_test.cc:5:7: note: 'x' declared here
            int x;
                ^
      1 error generated.
      
      Patch fixes this issue.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286966 91177308-0d34-0410-b5e6-96231b3b80d8
      91a680c7
    • Alexey Bataev's avatar
      Merging r286129: · 9d07107b
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r286129 | abataev | 2016-11-07 18:15:02 +0000 (Mon, 07 Nov 2016) | 8 lines
      
      [OPENMP] Fixed codegen for __real/__imag expressions in atomic
      constructs.
      
      For __real/__imag unary expressions clang emits lvalue with the
      associated type from the original complex expression, but not the
      underlying builtin integer or float type. This causes crash in codegen
      for atomic constructs, if __real/__imag expression are used in atomic
        constructs.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286965 91177308-0d34-0410-b5e6-96231b3b80d8
      9d07107b
    • Alexey Bataev's avatar
      Merging r284110: · d1273f47
      Alexey Bataev authored
      ------------------------------------------------------------------------
      r284110 | abataev | 2016-10-13 09:52:46 +0000 (Thu, 13 Oct 2016) | 9 lines
      
      Fix for PR30639: CGDebugInfo Null dereference with OpenMP array
      access, by Erich Keane
      
      OpenMP creates a variable array type with a a null size-expr. The Debug
      generation failed to due to this. This patch corrects the openmp
      implementation, updates the tests, and adds a new one for this
      condition.
      
      Differential Revision: https://reviews.llvm.org/D25373
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286964 91177308-0d34-0410-b5e6-96231b3b80d8
      d1273f47
    • Richard Trieu's avatar
      Merging rr285370: · 4ea59c2b
      Richard Trieu authored
      ------------------------------------------------------------------------
      r285370 | rtrieu | 2016-10-27 17:15:24 -0700 (Thu, 27 Oct 2016) | 10 lines
      
      Fix a crash on invalid code.
      
      The diagnostic was attempting to access the QualType of a TypeDecl by calling
      TypeDecl::getTypeForDecl.  However, the Type pointer stored there is lazily
      loaded by functions in ASTContext.  In most cases, the pointer is loaded and
      this does not cause a problem.  However, when more that 50 or so unknown types
      are seen beforehand, this causes the Type to not be loaded, passing a null
      Type to the diagnostics, leading to the crash.  Using
      ASTContext::getTypeDeclType will give a proper QualType for all cases.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286923 91177308-0d34-0410-b5e6-96231b3b80d8
      4ea59c2b
    • Richard Trieu's avatar
      Merging r282989: · 787744fa
      Richard Trieu authored
      ------------------------------------------------------------------------
      r282989 | rtrieu | 2016-09-30 17:15:24 -0700 (Fri, 30 Sep 2016) | 10 lines
      
      Fix crash when emitting error.
      
      With templated classes, is possible to not be able to determine is a member
      function is a special member function before the class is instantiated.  Only
      these special member functions can be defaulted.  In some cases, knowing
      whether a function is a special member function can't be determined until
      instantiation, so an uninstantiated function could possibly be defaulted too.
      Add a case to the error diagnostic when the function marked with a default is
      not known to be a special member function.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286922 91177308-0d34-0410-b5e6-96231b3b80d8
      787744fa
    • Richard Trieu's avatar
      Merging r281287: · 28ec0503
      Richard Trieu authored
      ------------------------------------------------------------------------
      r281287 | rtrieu | 2016-09-12 18:37:01 -0700 (Mon, 12 Sep 2016) | 2 lines
      
      Handle empty message in static_asserts.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286918 91177308-0d34-0410-b5e6-96231b3b80d8
      28ec0503
  12. Nov 12, 2016
    • Richard Trieu's avatar
      Merging r281286: · 564f991d
      Richard Trieu authored
      ------------------------------------------------------------------------
      r281286 | rtrieu | 2016-09-12 18:20:40 -0700 (Mon, 12 Sep 2016) | 6 lines
      
      Fix interaction between serialization and c++1z feature.
      
      In c++1z, static_assert is not required to have a StringLiteral message, where
      previously it was required.  Update the AST Reader to be able to handle a
      null StringLiteral.
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@286667 91177308-0d34-0410-b5e6-96231b3b80d8
      564f991d
  13. Sep 28, 2016
    • Eric Fiselier's avatar
      Merging rr280190: · c3709e72
      Eric Fiselier authored
      ------------------------------------------------------------------------
      r280190 | rsmith | 2016-08-30 20:15:21 -0600 (Tue, 30 Aug 2016) | 12 lines
      
      PR12298 et al: don't recursively instantiate a template specialization from
      within the instantiation of that same specialization. This could previously
      happen for eagerly-instantiated function templates, variable templates,
      exception specifications, default arguments, and a handful of other cases.
      
      We still have an issue here for default template arguments that recursively
      make use of themselves and likewise for substitution into the type of a
      non-type template parameter, but in those cases we're producing a different
      entity each time, so they should instead be caught by the instantiation depth
      limit. However, currently we will typically run out of stack before we reach
      it. :(
      
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@282636 91177308-0d34-0410-b5e6-96231b3b80d8
      c3709e72
  14. Aug 19, 2016
  15. Aug 18, 2016
  16. Aug 17, 2016
    • Hans Wennborg's avatar
      Merging r278786: · 890a23df
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r278786 | jamesm | 2016-08-16 02:45:36 -0700 (Tue, 16 Aug 2016) | 4 lines
      
      Left shifts of negative values are defined if -fwrapv is set
      
      This means we shouldn't emit ubsan detection code or warn.
      Fixes PR25552.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@278989 91177308-0d34-0410-b5e6-96231b3b80d8
      890a23df
    • Hans Wennborg's avatar
      Merging r277852: · d47f71af
      Hans Wennborg authored
      ------------------------------------------------------------------------
      r277852 | dblaikie | 2016-08-05 12:03:01 -0700 (Fri, 05 Aug 2016) | 7 lines
      
      PR26423: Assert on valid use of using declaration of a function with an undeduced auto return type
      
      For now just disregard the using declaration in this case. Suboptimal,
      but wiring up the ability to have declarations of functions that are
      separate from their definition (we currently only do that for member
      functions) and have differing return types (we don't have any support
      for that) is more work than seems reasonable to at least fix this crash.
      ------------------------------------------------------------------------
      
      
      git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@278877 91177308-0d34-0410-b5e6-96231b3b80d8
      d47f71af
Loading