Anastasia,
This commit broke ARMv8 bots, logs are available here:
http://lab.llvm.org:8011/builders/clang-cmake-armv8-quick/builds/14655/steps/ninja%20check%201/logs/FAIL%3A%20Clang%3A%3Avector_literals_valid.cl
Thanks,
Yvan
On Fri, 2 Aug 2019 at 13:18, Anastasia Stulova via cfe-commits
wrote
Author: stulova
Date: Mon Aug 5 02:50:28 2019
New Revision: 367823
URL: http://llvm.org/viewvc/llvm-project?rev=367823=rev
Log:
[OpenCL] Fix vector literal test broken in rL367675.
Avoid checking alignment unnecessary that is not portable
among targets.
Modified:
Author: stulova
Date: Fri Aug 2 04:19:35 2019
New Revision: 367675
URL: http://llvm.org/viewvc/llvm-project?rev=367675=rev
Log:
[OpenCL] Allow OpenCL C style vector initialization in C++
Allow creating vector literals from other vectors.
float4 a = (float4)(1.0f, 2.0f, 3.0f, 4.0f);
float4 v
Author: stulova
Date: Thu Jul 25 04:04:29 2019
New Revision: 367008
URL: http://llvm.org/viewvc/llvm-project?rev=367008=rev
Log:
[OpenCL] Rename lang mode flag for C++ mode
Rename lang mode flag to -cl-std=clc++/-cl-std=CLC++
or -std=clc++/-std=CLC++.
This aligns with OpenCL C conversion and
Great! Thanks!
From: Hans Wennborg
Sent: 23 July 2019 15:58
To: Anastasia Stulova
Cc: Marco Antognini ; Clang Commits
; nd
Subject: Re: r366694 - [NFC] Relaxed regression tests for PR42665
Merged them both in r366814.
Thanks,
Hans
On Tue, Jul 23, 2019 at
+ cfe-commits
From: Anastasia Stulova
Sent: 23 July 2019 15:16
To: Hans Wennborg
Cc: Marco Antognini
Subject: Re: r366694 - [NFC] Relaxed regression tests for PR42665
@Hans, would it be possible to merge this commit along with r366670 to the
release 9.0?
Author: stulova
Date: Thu Jul 18 03:02:35 2019
New Revision: 366421
URL: http://llvm.org/viewvc/llvm-project?rev=366421=rev
Log:
[OpenCL] Update comments/diagnostics to refer to C++ for OpenCL
Clang doesn't implement OpenCL C++, change the comments to
reflect that.
Differential Revision:
Author: stulova
Date: Thu Jul 18 02:12:49 2019
New Revision: 366417
URL: http://llvm.org/viewvc/llvm-project?rev=366417=rev
Log:
[OpenCL][PR42033] Fix addr space deduction with template parameters
If dependent types appear in pointers or references we allow addr
space deduction because the addr
Author: stulova
Date: Wed Jul 17 10:21:31 2019
New Revision: 366351
URL: http://llvm.org/viewvc/llvm-project?rev=366351=rev
Log:
[Docs][OpenCL] Documentation of C++ for OpenCL mode
Added documentation of C++ for OpenCL mode into Clang
User Manual and Language Extensions document.
Differential
Author: stulova
Date: Mon Jul 15 06:02:21 2019
New Revision: 366063
URL: http://llvm.org/viewvc/llvm-project?rev=366063=rev
Log:
[OpenCL] Deduce addr space for pointee of dependent types in instantiation.
Since pointee doesn't require context sensitive addr space deduction
it's easier to handle
Author: stulova
Date: Mon Jul 15 04:58:10 2019
New Revision: 366059
URL: http://llvm.org/viewvc/llvm-project?rev=366059=rev
Log:
[OpenCL][PR41727] Prevent ICE on global dtors
Pass NULL to pointer arg of __cxa_atexit if addr space
is not matching with its param. This doesn't align yet
with how
Author: stulova
Date: Fri Jun 21 09:19:16 2019
New Revision: 364071
URL: http://llvm.org/viewvc/llvm-project?rev=364071=rev
Log:
[OpenCL][PR41963] Add generic addr space to old atomics in C++ mode
Add overloads with generic address space pointer to old atomics.
This is currently only added for
Author: stulova
Date: Fri Jun 21 04:36:15 2019
New Revision: 364032
URL: http://llvm.org/viewvc/llvm-project?rev=364032=rev
Log:
[Sema] Fix diagnostic for addr spaces in reference binding
Extend reference binding behavior to account for address spaces.
Differential Revision:
Author: stulova
Date: Fri Jun 21 03:50:02 2019
New Revision: 364023
URL: http://llvm.org/viewvc/llvm-project?rev=364023=rev
Log:
[Sema] Improved diagnostic for qualifiers in reference binding
Improved wording and also simplified by using printing
method from qualifiers.
Differential Revision:
Author: stulova
Date: Thu Jun 20 09:23:28 2019
New Revision: 363944
URL: http://llvm.org/viewvc/llvm-project?rev=363944=rev
Log:
[Sema] Diagnose addr space mismatch while constructing objects
If we construct an object in some arbitrary non-default addr space
it should fail unless either:
- There
Author: stulova
Date: Wed Jun 5 10:29:00 2019
New Revision: 362623
URL: http://llvm.org/viewvc/llvm-project?rev=362623=rev
Log:
[Clang] Fix pretty printing of CUDA address spaces
Patch by richardmembarth (Richard Membarth)!
Differential Revision: https://reviews.llvm.org/D54258
Modified:
Author: stulova
Date: Wed Jun 5 07:50:01 2019
New Revision: 362611
URL: http://llvm.org/viewvc/llvm-project?rev=362611=rev
Log:
[OpenCL][PR42031] Prevent deducing addr space in type alias.
Similar to typedefs we shouldn't deduce addr space in
type alias.
Differential Revision:
Author: stulova
Date: Wed Jun 5 07:03:34 2019
New Revision: 362604
URL: http://llvm.org/viewvc/llvm-project?rev=362604=rev
Log:
[Sema] Prevent binding incompatible addr space ref to temporaries
References to arbitrary address spaces can't always be bound to
temporaries. This change extends the
Author: stulova
Date: Mon Jun 3 08:42:36 2019
New Revision: 362409
URL: http://llvm.org/viewvc/llvm-project?rev=362409=rev
Log:
[PR41567][Sema] Fixed cast kind in addr space conversions
This change sets missing cast kind correctly in the address
space conversion case.
Differential Revision:
Author: stulova
Date: Thu May 30 08:18:07 2019
New Revision: 362102
URL: http://llvm.org/viewvc/llvm-project?rev=362102=rev
Log:
[OpenCL] Fix OpenCL/SPIR version metadata in C++ mode.
C++ is derived from OpenCL v2.0 therefore set the versions
identically.
Differential Revision:
Author: stulova
Date: Thu May 9 06:55:44 2019
New Revision: 360342
URL: http://llvm.org/viewvc/llvm-project?rev=360342=rev
Log:
[OpenCL] Make global ctor init function a kernel
We need to be able to enqueue internal function that initializes
global constructors on the host side. Therefore it
Author: stulova
Date: Thu May 9 04:55:24 2019
New Revision: 360330
URL: http://llvm.org/viewvc/llvm-project?rev=360330=rev
Log:
[OpenCL] Switched CXX mode to be derived from C++17
Differential revision: https://reviews.llvm.org/D61506
Modified:
Author: stulova
Date: Thu May 9 03:25:45 2019
New Revision: 360325
URL: http://llvm.org/viewvc/llvm-project?rev=360325=rev
Log:
[SPIR] Simplified target checking.
Switched to Triple::isSPIR() helper to simplify code.
Patch by kpet (Kevin Petit)!
Differential revision:
Author: stulova
Date: Wed May 8 07:23:49 2019
New Revision: 360258
URL: http://llvm.org/viewvc/llvm-project?rev=360258=rev
Log:
[Sema][OpenCL] Make address space conversions a bit stricter.
The semantics for converting nested pointers between address
spaces are not very well defined. Some
Author: stulova
Date: Tue May 7 07:22:34 2019
New Revision: 360152
URL: http://llvm.org/viewvc/llvm-project?rev=360152=rev
Log:
[OpenCL] Prevent mangling kernel functions.
Kernel function names have to be preserved as in the original
source to be able to access them from the host API side.
Author: stulova
Date: Thu May 2 09:10:50 2019
New Revision: 359798
URL: http://llvm.org/viewvc/llvm-project?rev=359798=rev
Log:
[OpenCL] Fix initialisation of this via pointer.
When the expression used to initialise 'this' has a pointer type,
check the address space of the pointee type instead
Author: stulova
Date: Thu May 2 07:40:40 2019
New Revision: 359789
URL: http://llvm.org/viewvc/llvm-project?rev=359789=rev
Log:
[OpenCL] Deduce static data members to __global addr space.
Similarly to static variables in OpenCL, static class data
members should be deduced to __global addr
Author: stulova
Date: Thu Apr 4 04:08:51 2019
New Revision: 357684
URL: http://llvm.org/viewvc/llvm-project?rev=357684=rev
Log:
[PR41157][OpenCL] Prevent implicit init of local addr space var in C++ mode.
Prevent adding initializers implicitly to variables declared in
local address space. This
Author: stulova
Date: Thu Apr 4 03:48:36 2019
New Revision: 357682
URL: http://llvm.org/viewvc/llvm-project?rev=357682=rev
Log:
[PR41276] Fixed incorrect generation of addr space cast for 'this' in C++.
Improved classification of address space cast when qualification
conversion is performed -
Author: stulova
Date: Thu Mar 28 04:47:14 2019
New Revision: 357162
URL: http://llvm.org/viewvc/llvm-project?rev=357162=rev
Log:
[PR41247] Fixed parsing of private keyword in C++.
Fixed bug in C++ to prevent parsing 'private' as a
valid address space qualifier.
Differential Revision:
Author: stulova
Date: Tue Mar 26 04:22:37 2019
New Revision: 356987
URL: http://llvm.org/viewvc/llvm-project?rev=356987=rev
Log:
[OpenCL] Allow variadic macros as Clang feature.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticLexKinds.td
cfe/trunk/lib/Lex/PPDirectives.cpp
Author: stulova
Date: Mon Mar 25 04:54:02 2019
New Revision: 356888
URL: http://llvm.org/viewvc/llvm-project?rev=356888=rev
Log:
[OpenCL] Allow addr space spelling without __ prefix in C++.
For backwards compatibility we allow alternative spelling of address
spaces - 'private', 'local',
Author: stulova
Date: Tue Mar 19 10:09:06 2019
New Revision: 356479
URL: http://llvm.org/viewvc/llvm-project?rev=356479=rev
Log:
[OpenCL] Minor improvements in default header testing
Differential Revision: https://reviews.llvm.org/D59544
Modified:
cfe/trunk/test/Headers/opencl-c-header.cl
Author: stulova
Date: Tue Mar 19 09:50:21 2019
New Revision: 356475
URL: http://llvm.org/viewvc/llvm-project?rev=356475=rev
Log:
[Sema] Adjust addr space of reference operand in compound assignment
When we create overloads for the builtin compound assignment operators
we need to preserve address
Author: stulova
Date: Tue Mar 19 06:04:17 2019
New Revision: 356450
URL: http://llvm.org/viewvc/llvm-project?rev=356450=rev
Log:
[OpenCL] Improved testing of default header.
Improved some checks and moved testing of the default header
in C++ mode into the Headers folder.
Differential Revision:
Author: stulova
Date: Tue Mar 12 05:46:56 2019
New Revision: 355915
URL: http://llvm.org/viewvc/llvm-project?rev=355915=rev
Log:
[PR41007][OpenCL] Allow printf in C++ mode.
As for OpenCL C, we need to allow using printf and toolchain variadic
functions (prefixed by "__") in C++ mode.
Author: stulova
Date: Thu Mar 7 09:06:30 2019
New Revision: 355609
URL: http://llvm.org/viewvc/llvm-project?rev=355609=rev
Log:
[Sema] Change addr space diagnostics in casts to follow C++ style.
This change adds a new diagnostic for mismatching address spaces
to be used for C++ casts (only
Author: stulova
Date: Thu Mar 7 08:43:41 2019
New Revision: 355608
URL: http://llvm.org/viewvc/llvm-project?rev=355608=rev
Log:
[PR40778][Sema] Adjust addr space of operands in builtin operators.
Adjust address space for references and pointer operands of builtin operators.
Currently this
Author: stulova
Date: Thu Mar 7 08:23:15 2019
New Revision: 355606
URL: http://llvm.org/viewvc/llvm-project?rev=355606=rev
Log:
[PR40778] Preserve addr space in Derived to Base cast.
The address space for the Base class pointer when up-casting
from Derived should be taken from the Derived class
Author: stulova
Date: Wed Mar 6 05:02:41 2019
New Revision: 355499
URL: http://llvm.org/viewvc/llvm-project?rev=355499=rev
Log:
[PR40778] Add addr space conversion when binding reference to a temporary.
This change fixes temporary materialization to happen in the right
(default) address space
Author: stulova
Date: Fri Feb 15 04:07:57 2019
New Revision: 354121
URL: http://llvm.org/viewvc/llvm-project?rev=354121=rev
Log:
[OpenCL][PR40707] Allow OpenCL C types in C++ mode.
Allow all OpenCL types to be parsed in C++ mode.
Modified:
Author: stulova
Date: Thu Feb 7 09:32:37 2019
New Revision: 353431
URL: http://llvm.org/viewvc/llvm-project?rev=353431=rev
Log:
[OpenCL][PR40603] In C++ preserve compatibility with OpenCL C v2.0
Valid OpenCL C code should still compile in C++ mode.
This change enables extensions and OpenCL
Author: stulova
Date: Tue Feb 5 03:32:58 2019
New Revision: 353160
URL: http://llvm.org/viewvc/llvm-project?rev=353160=rev
Log:
Fix ICE on reference binding with mismatching addr spaces.
When we attempt to add an addr space qual to a type already
qualified by an addr space ICE is triggered.
Author: stulova
Date: Thu Jan 31 07:23:48 2019
New Revision: 352760
URL: http://llvm.org/viewvc/llvm-project?rev=352760=rev
Log:
[OpenCL] Fixed addr space manging test.
Fixed typo in the Filecheck directive and changed the
test to verify output correctly.
Fixes PR40029!
Modified:
Author: stulova
Date: Wed Jan 30 03:18:08 2019
New Revision: 352617
URL: http://llvm.org/viewvc/llvm-project?rev=352617=rev
Log:
[OpenCL] Add generic addr space to the return of implicit assignment.
When creating the prototype of implicit assignment operators the
returned reference to the class
Author: stulova
Date: Mon Jan 28 03:37:49 2019
New Revision: 352349
URL: http://llvm.org/viewvc/llvm-project?rev=352349=rev
Log:
Rename getTypeQualifiers to getMethodQualifiers.
Use more descriptive name for the method qualifiers getter.
Differential Revision: https://reviews.llvm.org/D56792
Author: stulova
Date: Mon Jan 21 08:01:38 2019
New Revision: 351747
URL: http://llvm.org/viewvc/llvm-project?rev=351747=rev
Log:
[OpenCL] Allow address spaces as method qualifiers.
Methods can now be qualified with address spaces to prevent
undesirable conversions to generic or to provide custom
Author: stulova
Date: Fri Jan 18 03:38:16 2019
New Revision: 351546
URL: http://llvm.org/viewvc/llvm-project?rev=351546=rev
Log:
[OpenCL] Fix overloading ranking rules for addrspace conversions.
Extend ranking to work with address spaces correctly when
resolving overloads.
Differential
Author: stulova
Date: Mon Jan 14 03:44:22 2019
New Revision: 351053
URL: http://llvm.org/viewvc/llvm-project?rev=351053=rev
Log:
[OpenCL] Set generic addr space of 'this' in special class members.
Set address spaces of 'this' param correctly for implicit special
class members.
This also changes
Author: stulova
Date: Wed Jan 9 03:25:09 2019
New Revision: 350703
URL: http://llvm.org/viewvc/llvm-project?rev=350703=rev
Log:
Use DeclSpec for quals in DeclaratorChunk::FunctionTypeInfo.
Rather than duplicating data fields, use DeclSpec directly to store
the qualifiers for the
Author: stulova
Date: Fri Jan 4 03:50:36 2019
New Revision: 350386
URL: http://llvm.org/viewvc/llvm-project?rev=350386=rev
Log:
[Basic] Extend DiagnosticEngine to store and format Qualifiers.
Qualifiers can now be streamed into the DiagnosticEngine using
regular << operator. If Qualifiers are
Author: stulova
Date: Wed Dec 5 09:02:22 2018
New Revision: 348382
URL: http://llvm.org/viewvc/llvm-project?rev=348382=rev
Log:
[OpenCL] Diagnose conflicting address spaces in templates.
Added new diagnostic when templates are instantiated with
different address space from the one provided in
Author: stulova
Date: Thu Nov 29 06:11:15 2018
New Revision: 347865
URL: http://llvm.org/viewvc/llvm-project?rev=347865=rev
Log:
[OpenCL] Improve diags for addr spaces in templates
Fix ICEs on template instantiations that were leading to
the creation of invalid code patterns with address spaces.
Author: stulova
Date: Mon Nov 19 04:43:39 2018
New Revision: 347196
URL: http://llvm.org/viewvc/llvm-project?rev=347196=rev
Log:
Fixed uninitialized variable issue.
This commit should fix failing bots.
Modified:
cfe/trunk/lib/Sema/SemaType.cpp
Modified: cfe/trunk/lib/Sema/SemaType.cpp
at 12:02 PM Anastasia Stulova via cfe-commits
mailto:cfe-commits@lists.llvm.org>> wrote:
Author: stulova
Date: Mon Nov 19 03:00:14 2018
New Revision: 347189
URL: http://llvm.org/viewvc/llvm-project?rev=347189=rev
Log:
[OpenCL] Fix address space deduction in template args.
Don't deduce addre
Author: stulova
Date: Mon Nov 19 03:00:14 2018
New Revision: 347189
URL: http://llvm.org/viewvc/llvm-project?rev=347189=rev
Log:
[OpenCL] Fix address space deduction in template args.
Don't deduce address spaces for non-pointer-like types
in template args.
Fixes PR38603!
Differential Revision:
Author: stulova
Date: Fri Nov 16 08:22:56 2018
New Revision: 347059
URL: http://llvm.org/viewvc/llvm-project?rev=347059=rev
Log:
[OpenCL] Enable address spaces for references in C++
Added references to the addr spaces deduction and enabled
CL2.0 features (program scope variables and storage
It seems like it caused a bug:
https://bugs.llvm.org/show_bug.cgi?id=39486
From: cfe-commits on behalf of Matt
Arsenault via cfe-commits
Sent: 03 October 2018 03:01
To: cfe-commits@lists.llvm.org
Subject: r343653 - OpenCL: Mark printf format string argument
Author: stulova
Date: Wed Oct 10 09:05:22 2018
New Revision: 344148
URL: http://llvm.org/viewvc/llvm-project?rev=344148=rev
Log:
[OpenCL] Fixed address space cast in C style cast of C++ parsing
C style cast in OpenCL C++ was ignoring the address space
conversions from OpenCL C and as a result
Author: stulova
Date: Mon Sep 24 07:21:56 2018
New Revision: 342885
URL: http://llvm.org/viewvc/llvm-project?rev=342885=rev
Log:
Revert "We allow implicit function declarations as an extension in all C
dialects. Remove OpenCL special case."
Discussed on cfe-commits (Week-of-Mon-20180820), this
, Anastasia Stulova via cfe-commits
mailto:cfe-commits@lists.llvm.org>> wrote:
Hi Richard,
There was a change in the spec to disallow unprototyped functions, which was
made this year. Unfortunately it seems it didn't make into the Khronos registry
yet to appear publicly. I will chase
, 22 Aug 2018 at 06:55, Anastasia Stulova via cfe-commits
mailto:cfe-commits@lists.llvm.org>> wrote:
Hi Richard,
> This is incorrect. Implicit function declarations declare unprototyped
> functions, which are *not* variadic, and are in fact supported by Clang's
> OpenCL language
tions as an extension
in all C dialects. Remove OpenCL special case.
On Tue, 21 Aug 2018 at 07:41, Anastasia Stulova via cfe-commits
mailto:cfe-commits@lists.llvm.org>> wrote:
If there are no objections I would like to revert this old commit that coverts
error about implicit function
L off-list and Richard proposed to use
"-Werror=implicit-function-declaration" command line option if error
is required. Will it work for you?
Thanks,
Alexey
On Tue, Aug 21, 2018 at 5:41 PM Anastasia Stulova via cfe-commits
wrote:
>
> If there are no objections I would like
If there are no objections I would like to revert this old commit that coverts
error about implicit function declaration into a warning.
We have decided to generate an error for this https://reviews.llvm.org/D31745
because for OpenCL variadic prototypes are disallowed (section 6.9.e,
Author: stulova
Date: Fri Jun 22 09:20:21 2018
New Revision: 335362
URL: http://llvm.org/viewvc/llvm-project?rev=335362=rev
Log:
[OpenCL] Fixed parsing of address spaces for C++.
Added address space tokens to C++ parsing code to be able
to parse declarations that start from an address space
Author: stulova
Date: Fri Jun 22 08:45:08 2018
New Revision: 335358
URL: http://llvm.org/viewvc/llvm-project?rev=335358=rev
Log:
[Sema] Updated note for address spaces to print the type.
This allows to reuse the same diagnostic for OpenCL or CUDA.
Modified:
Author: stulova
Date: Wed May 9 06:23:26 2018
New Revision: 331877
URL: http://llvm.org/viewvc/llvm-project?rev=331877=rev
Log:
[OpenCL] Add constant address space to __func__ in AST.
Added string literal helper function to obtain the type
attributed by a constant address space.
Also fixed
Author: stulova
Date: Thu Apr 12 07:17:04 2018
New Revision: 329911
URL: http://llvm.org/viewvc/llvm-project?rev=329911=rev
Log:
[OpenCL] Added -std/-cl-std=c++
This is std option for OpenCL C++ v1.0.
Differential Revision: https://reviews.llvm.org/D45363
Modified:
There were no objections to this so far. I assume it means nobody is opposing
this new feature.
Just to give a bit more info and a chance for the last feedback. We don't plan
to contribute the whole patch but only around 3K lines + tests. The overall
changes will be smaller than OpenCL 2.0.
I think this bit is a bit confusing to us. Some of our original OpenCL checks
were removed in some places because in some cases OpenCL semantic was adopted
elsewhere. But I think this should indeed go under OpenCL check.
Thanks,
Anastasia
From: Bruno Cardoso
Author: stulova
Date: Wed Sep 27 10:03:35 2017
New Revision: 314317
URL: http://llvm.org/viewvc/llvm-project?rev=314317=rev
Log:
[OpenCL] Fixed CL version in failing test.
Modified:
cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl
Modified: cfe/trunk/test/CodeGenOpenCL/vectorLoadStore.cl
Author: stulova
Date: Wed Sep 27 07:37:00 2017
New Revision: 314304
URL: http://llvm.org/viewvc/llvm-project?rev=314304=rev
Log:
[OpenCL] Handle address space conversion while setting type alignment.
Added missing addrspacecast case in alignment computation
logic of pointer type emission in IR
Author: stulova
Date: Thu Sep 7 10:00:33 2017
New Revision: 312728
URL: http://llvm.org/viewvc/llvm-project?rev=312728=rev
Log:
[OpenCL] Handle taking an address of block captures.
Block captures can have different physical locations
in memory segments depending on the use case (as a function
Author: stulova
Date: Tue Jun 20 09:50:45 2017
New Revision: 305798
URL: http://llvm.org/viewvc/llvm-project?rev=305798=rev
Log:
[OpenCL] Diagnose scoped address-space qualified variables
Produce an error if variables qualified with a local or
a constant address space are not declared in the
Author: stulova
Date: Mon Jun 5 06:27:03 2017
New Revision: 304708
URL: http://llvm.org/viewvc/llvm-project?rev=304708=rev
Log:
[OpenCL] Fix pipe size in TypeInfo.
Pipes are now the size of pointers rather than the size
of the type that they contain.
Patch by Simon Perretta!
Differential
Author: stulova
Date: Mon May 8 11:05:54 2017
New Revision: 302435
URL: http://llvm.org/viewvc/llvm-project?rev=302435=rev
Log:
[Sema] Fix typos handling in an overloadable call.
In C typos in arguments in a call of an overloadable function lead
to a failure of construction of CallExpr and
Author: stulova
Date: Fri Apr 21 10:13:24 2017
New Revision: 300988
URL: http://llvm.org/viewvc/llvm-project?rev=300988=rev
Log:
[OpenCL] Fix semantic check of ndrange_t for device_side_enqueue.
Check unqualified type for ndrange argument in device_side_enqueue so
device_side_enqueue accept
Author: stulova
Date: Tue Apr 4 11:50:46 2017
New Revision: 299447
URL: http://llvm.org/viewvc/llvm-project?rev=299447=rev
Log:
[Bug 25404] Fix crash on typedef in OpenCL 2.0
Fixed the assertion due to absence of source location for
implicitly defined types (using addImplicitTypedef()).
During
It seems like the following change causes the failures:
diff --git a/lib/Parse/ParseExpr.cpp b/lib/Parse/ParseExpr.cpp
index 4dcdfbf..e1439d6 100644
--- a/lib/Parse/ParseExpr.cpp
+++ b/lib/Parse/ParseExpr.cpp
@@ -2379,10 +2427,13 @@ Parser::ParseParenExpression(ParenParseOption
, bool
Author: stulova
Date: Fri Mar 24 11:43:51 2017
New Revision: 298709
URL: http://llvm.org/viewvc/llvm-project?rev=298709=rev
Log:
[OpenCL][Bug 10573] Don't set CXXOperatorNames flag
The flag CXXOperatorNames was overwritten unconditionally
after being set for OpenCL.
There seems to be no
Author: stulova
Date: Mon Mar 20 10:02:54 2017
New Revision: 298256
URL: http://llvm.org/viewvc/llvm-project?rev=298256=rev
Log:
[OpenCL] Fix extension guards for atomic functions
Review: D30830
Patch by James Price!
Modified:
cfe/trunk/lib/Headers/opencl-c.h
Modified:
l/logs/stdio
Please have a look at it?
Thanks
Galina
On Fri, Mar 10, 2017 at 7:23 AM, Anastasia Stulova via cfe-commits
<cfe-commits@lists.llvm.org<mailto:cfe-commits@lists.llvm.org>> wrote:
Author: stulova
Date: Fri Mar 10 09:23:07 2017
New Revision: 297468
URL: http://llvm.org/viewv
Author: stulova
Date: Fri Mar 10 09:23:07 2017
New Revision: 297468
URL: http://llvm.org/viewvc/llvm-project?rev=297468=rev
Log:
[OpenCL] Fix type compatibility check and generic AS mangling.
1. Reimplemented conditional operator so that it checks
compatibility of unqualified pointees of the 2nd
Sure! No objections here!
Thanks,
Anastasia
-Original Message-
From: hwennb...@google.com [mailto:hwennb...@google.com] On Behalf Of Hans
Wennborg
Sent: 22 February 2017 18:10
To: Jan Vesely
Cc: cfe-commits; Matt Arsenault; Anastasia Stulova
Subject: Re: r295843 - [OpenCL] r600 needs
Perfect! Thanks!
Anastasia
-Original Message-
From: hwennb...@google.com [mailto:hwennb...@google.com] On Behalf Of Hans
Wennborg
Sent: 16 February 2017 17:22
To: Anastasia Stulova
Cc: cfe-commits@lists.llvm.org
Subject: Re: D29829: [OpenCL][Doc] Description for adding OpenCL vendor
Hans, could we merge this documentation only change (r295313) in release40
branch. I can commit myself if needed. :)
Thanks in advance,
Anastasia
-Original Message-
From: Anastasia Stulova via Phabricator [mailto:revi...@reviews.llvm.org]
Sent: 16 February 2017 14:15
To: Anastasia
Author: stulova
Date: Thu Feb 16 06:49:29 2017
New Revision: 295313
URL: http://llvm.org/viewvc/llvm-project?rev=295313=rev
Log:
[OpenCL][Doc] Added OpenCL vendor extension description to user manual doc
Added description of a new feature that allows to specify
vendor extension in flexible way
Author: stulova
Date: Thu Feb 16 06:27:47 2017
New Revision: 295311
URL: http://llvm.org/viewvc/llvm-project?rev=295311=rev
Log:
[OpenCL] Correct ndrange_t implementation
Removed ndrange_t as Clang builtin type and added
as a struct type in the OpenCL header.
Use type name to do the Sema
Author: stulova
Date: Thu Feb 16 05:13:30 2017
New Revision: 295307
URL: http://llvm.org/viewvc/llvm-project?rev=295307=rev
Log:
[OpenCL] Disallow blocks capture other blocks (v2.0, s6.12.5)
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/lib/Sema/SemaExpr.cpp
Author: stulova
Date: Tue Feb 7 10:09:41 2017
New Revision: 294313
URL: http://llvm.org/viewvc/llvm-project?rev=294313=rev
Log:
[OpenCL] Accept logical NOT for pointer types in CL1.1
Fix for bug 30217 - incorrect error given for logical
NOT operation with a pointer type: corrected sema check
I don't understand why we need this extra step in testing now? Did anything
fail?
Thanks,
Anastasia
-Original Message-
From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf Of
NAKAMURA Takumi via cfe-commits
Sent: 01 November 2016 20:08
To: cfe-commits@lists.llvm.org
Author: stulova
Date: Fri Jan 27 09:11:34 2017
New Revision: 293286
URL: http://llvm.org/viewvc/llvm-project?rev=293286=rev
Log:
[OpenCL] Add missing address spaces in IR generation of blocks
Modify ObjC blocks impl wrt address spaces as follows:
- keep default private address space for blocks
Author: stulova
Date: Wed Jan 25 06:18:50 2017
New Revision: 293050
URL: http://llvm.org/viewvc/llvm-project?rev=293050=rev
Log:
[OpenCL] Diagnose write_only image3d when extension is disabled
Prior to OpenCL 2.0, image3d_t can only be used with the write_only
access qualifier when the
Author: stulova
Date: Mon Jan 23 11:12:36 2017
New Revision: 292804
URL: http://llvm.org/viewvc/llvm-project?rev=292804=rev
Log:
[OpenCL] Improved enqueue_kernel diagnostic message
- Removed duplicated word typo.
- Made coherent across multiple similar diagnostics.
Modified:
As mentioned on cfe-dev as well, although it doesn't seem too critical it is
generally not logical to enable all extensions by default because most of the
targets don't even support OpenCL. But I understand your situation with using
x86 or ARM backends in a generic way. Do you think this can be
Author: stulova
Date: Thu Jan 12 11:52:22 2017
New Revision: 291780
URL: http://llvm.org/viewvc/llvm-project?rev=291780=rev
Log:
[Docs][OpenCL] Added OpenCL feature description to Clang documentation.
Updated index and UsersManual with OpenCL description.
Review: https://reviews.llvm.org/D28080
I think we can’t avoid deviating from C/C++ implementation completely. But we
should certainly try to avoid it in unnecessary situations as much as we can.
In this case it seems like the spec enforces the rules for resolving the
ambiguity that seems logical to me.
Is this possibly a better way
> Perhaps that is the problem (that there are two modes that do different
> things)? Could we make the double overload be present but unselectable to
> diagnose this problem in that mode too?
If we could resolve the overload candidate to prefer ‘int -> float’ than
‘int->double’, it would work
Author: stulova
Date: Tue Nov 29 11:01:19 2016
New Revision: 288163
URL: http://llvm.org/viewvc/llvm-project?rev=288163=rev
Log:
[OpenCL] Prevent generation of globals in non-constant AS for OpenCL.
Avoid using shortcut for const qualified non-constant address space
aggregate variables while
101 - 200 of 590 matches
Mail list logo