- Feb 07, 2017
-
-
Philippe Virouleau authored
-
Philippe Virouleau authored
-
- Jan 24, 2017
-
-
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.
-
- Jan 17, 2017
-
-
Thierry authored
-
- Jan 13, 2017
-
-
Thierry authored
-
- Nov 30, 2016
-
-
Philippe Virouleau authored
-
- Nov 24, 2016
-
-
Philippe Virouleau authored
-
- Nov 23, 2016
-
-
Philippe Virouleau authored
-
Use data/node/thread as affinity kinds instead of depend/numa/core.
-
-
Add 0 as the default kind for affinity.
-
"affinity('depend | numa | core', 'expr1'[, 'expr2'])" 'expr1' is the affinity requested. 'expr2' defines if the affinity is "strict" (0 by default, anything but 0 means strict). Using 'depend' will set the affinity of the task to the numa node where 'expr1' is located (therefore, a pointer is expected).
-
-
This specifies an algorithm for the initial ready tasks in the parallel section.
-
Example : one can use "#pragma omp task affinity(3)" to tell the runtime this task has an affinity with NUMA node 3.
-
- Nov 21, 2016
-
-
Mehdi Amini authored
Merge r285525 into 3.9.1: Fix clang installed path to handle case where clang is invoked through a symlink See https://llvm.org/PR30840 git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@287580 91177308-0d34-0410-b5e6-96231b3b80d8
-
Mehdi Amini authored
See: https://llvm.org/PR30840 git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@287579 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Nov 17, 2016
-
-
Pekka Jaaskelainen authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@287239 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Nov 16, 2016
-
-
Ed Schouten authored
Add support for targeting armv6-unknown-cloudabi-eabihf. I'm in the progress of adding ARMv6 support to CloudABI. On the compiler side, everything seems to work properly with this tiny change applied. git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@287093 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Nov 15, 2016
-
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
- Nov 12, 2016
-
-
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
-
- Sep 28, 2016
-
-
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
-
- Aug 19, 2016
-
-
Anastasia Stulova authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279224 91177308-0d34-0410-b5e6-96231b3b80d8
-
Hans Wennborg authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279176 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Aug 18, 2016
-
-
Hans Wennborg authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279146 91177308-0d34-0410-b5e6-96231b3b80d8
-
Hans Wennborg authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279134 91177308-0d34-0410-b5e6-96231b3b80d8
-
Hans Wennborg authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279131 91177308-0d34-0410-b5e6-96231b3b80d8
-
Hans Wennborg authored
------------------------------------------------------------------------ r278988 | cbieneman | 2016-08-17 14:54:30 -0700 (Wed, 17 Aug 2016) | 14 lines [Darwin] Stop linking libclang_rt.eprintf.a Summary: The eprintf library was added before the general OS X builtins library existed as a place to store one builtin function. Since we have for several years had an actual mandated builtin library for OS X > 10.5, we should just merge eprintf into the main library. This change will resolve PR28855. As a follow up I'll also patch compiler-rt to not generate the eprintf library anymore. Reviewers: ddunbar, bob.wilson Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D23531 ------------------------------------------------------------------------ git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279103 91177308-0d34-0410-b5e6-96231b3b80d8
-
Anastasia Stulova authored
git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_39@279083 91177308-0d34-0410-b5e6-96231b3b80d8
-
- Aug 17, 2016
-
-
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
-
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
-