<feed xmlns='http://www.w3.org/2005/Atom'>
<title>external_mesa3d/src/gallium/state_trackers/clover/llvm/invocation.cpp, branch replicant-6.0</title>
<subtitle>external/mesa3d
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/'/>
<entry>
<title>st/clover: Define __OPENCL_VERSION__ on the device side</title>
<updated>2016-09-10T22:48:54+00:00</updated>
<author>
<name>Niels Ole Salscheider</name>
<email>niels_ole@salscheider-online.de</email>
</author>
<published>2016-08-28T14:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=cfa914a1b4e20e7ef416171f5212f21e8224befc'/>
<id>cfa914a1b4e20e7ef416171f5212f21e8224befc</id>
<content type='text'>
This is required by the OpenCL standard.

Signed-off-by: Niels Ole Salscheider &lt;niels_ole@salscheider-online.de&gt;
Reviewed-by: Edward O'Callaghan &lt;funfunctor@folklore1984.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is required by the OpenCL standard.

Signed-off-by: Niels Ole Salscheider &lt;niels_ole@salscheider-online.de&gt;
Reviewed-by: Edward O'Callaghan &lt;funfunctor@folklore1984.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover: Re-order includes in invocation.cpp to fix build</title>
<updated>2016-07-20T21:15:53+00:00</updated>
<author>
<name>Tom Stellard</name>
<email>thomas.stellard@amd.com</email>
</author>
<published>2016-07-19T15:07:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=106946153fb237e0867d65d53fb3a8461f3a13ee'/>
<id>106946153fb237e0867d65d53fb3a8461f3a13ee</id>
<content type='text'>
The build was failing because the official CL headers have a few defines,
like: # define cl_khr_gl_sharing 1

Which have the same name as some class members of clang's OpenCLOptions class.
If we include the cl headers first, this breaks the build because the member
names of this class are replaced by the literal 1.

Reviewed-by: Francisco Jerez &lt;currojerez@riseup.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The build was failing because the official CL headers have a few defines,
like: # define cl_khr_gl_sharing 1

Which have the same name as some class members of clang's OpenCLOptions class.
If we include the cl headers first, this breaks the build because the member
names of this class are replaced by the literal 1.

Reviewed-by: Francisco Jerez &lt;currojerez@riseup.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover: Add missing include v2</title>
<updated>2016-07-20T21:15:53+00:00</updated>
<author>
<name>Tom Stellard</name>
<email>thomas.stellard@amd.com</email>
</author>
<published>2016-07-19T15:05:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=a73bf11a63ea93640c26b5701c533b06d3a6f3e9'/>
<id>a73bf11a63ea93640c26b5701c533b06d3a6f3e9</id>
<content type='text'>
clang commit r275822 removed unnecessary includes from header files,
so we now need to explicitly include clang/Lex/PreprocessorOptions.h

v2:
  - Use &lt;&gt; instead of "" for the include path.

Reviewed-by: Francisco Jerez &lt;currojerez@riseup.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
clang commit r275822 removed unnecessary includes from header files,
so we now need to explicitly include clang/Lex/PreprocessorOptions.h

v2:
  - Use &lt;&gt; instead of "" for the include path.

Reviewed-by: Francisco Jerez &lt;currojerez@riseup.net&gt;
Reviewed-by: Vedran Miletić &lt;vedran@miletic.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover/llvm: Get rid of compile_program_llvm().</title>
<updated>2016-07-12T03:34:35+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-05-17T14:03:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=c2e37fe1f95916c7669fe84118acd2e3683ae077'/>
<id>c2e37fe1f95916c7669fe84118acd2e3683ae077</id>
<content type='text'>
Superseded by compile_program() and link_program().

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Superseded by compile_program() and link_program().

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover: Define error subclass to signal build option parse failure.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-05-17T14:03:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=2a73ae662cb393bef0d2d0ab71bfd1072adbafb6'/>
<id>2a73ae662cb393bef0d2d0ab71bfd1072adbafb6</id>
<content type='text'>
Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover: Move back to using build_error to signal compilation failure.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-06-19T21:31:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=4ef1c0918da4363aa20b7c1a91d344fae6c01942'/>
<id>4ef1c0918da4363aa20b7c1a91d344fae6c01942</id>
<content type='text'>
This partially reverts 7e0180d57d330bd8d3047e841086712376b2a1cc.
Having two different exception subclasses for compilation and linking
makes it more difficult to share or move code between the two
codepaths, because the exact same function under the same error
condition would need to throw one exception or the other depending on
what top-level API is being implemented with it.  There is little
benefit anyway because clCompileProgram() and clLinkProgram() can tell
whether they are linking or compiling a program.

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This partially reverts 7e0180d57d330bd8d3047e841086712376b2a1cc.
Having two different exception subclasses for compilation and linking
makes it more difficult to share or move code between the two
codepaths, because the exact same function under the same error
condition would need to throw one exception or the other depending on
what top-level API is being implemented with it.  There is little
benefit anyway because clCompileProgram() and clLinkProgram() can tell
whether they are linking or compiling a program.

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover/llvm: Implement the -create-library linker option.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-06-03T22:46:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=fb3eeb1314c3269818e58e64b460d045ea5b466d'/>
<id>fb3eeb1314c3269818e58e64b460d045ea5b466d</id>
<content type='text'>
[ Serge Martin: disable internalize pass when building a library.
  Otherwise some functions may be inlined and removed ]

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[ Serge Martin: disable internalize pass when building a library.
  Otherwise some functions may be inlined and removed ]

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover/llvm: Implement linkage of multiple clover modules.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-06-13T08:41:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=9de3f4a59f2f588368a5994a9fe49d4136393852'/>
<id>9de3f4a59f2f588368a5994a9fe49d4136393852</id>
<content type='text'>
Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover/llvm: Split compilation and linking.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-05-17T14:03:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=132b6ccd4f81eac3cad5bef42325319708498240'/>
<id>132b6ccd4f81eac3cad5bef42325319708498240</id>
<content type='text'>
Split the work previously done by compile_program_llvm() into
compile_program() (which simply runs the front-end and serializes the
resulting LLVM IR) and link_program() (which takes care of everything
else down to binary codegen).

[ Serge Martin: allow LLVM IR dump after compilation ]

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Split the work previously done by compile_program_llvm() into
compile_program() (which simply runs the front-end and serializes the
resulting LLVM IR) and link_program() (which takes care of everything
else down to binary codegen).

[ Serge Martin: allow LLVM IR dump after compilation ]

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>clover/llvm: Trivial assorted cleanups for invocation.cpp.</title>
<updated>2016-07-12T03:34:34+00:00</updated>
<author>
<name>Francisco Jerez</name>
<email>currojerez@riseup.net</email>
</author>
<published>2016-05-17T14:03:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/replicant/external_mesa3d/commit/?id=86100e13abc6182d2dd51eeb491b113d5a070fa1'/>
<id>86100e13abc6182d2dd51eeb491b113d5a070fa1</id>
<content type='text'>
Drop a few include and using directives which are no longer necessary.

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Drop a few include and using directives which are no longer necessary.

Reviewed-by: Serge Martin &lt;edb+mesa@sigluy.net&gt;
Tested-by: Jan Vesely &lt;jan.vesely@rutgers.edu&gt;
</pre>
</div>
</content>
</entry>
</feed>
