<feed xmlns='http://www.w3.org/2005/Atom'>
<title>llvm-project.git/clang/test/CodeGenHLSL/BasicFeatures/StructElementwiseCast.hlsl, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/'/>
<entry>
<title>[HLSL] Add NativeInt16Type langopt to control whether short type is supported. Enabled by default for all but HLSL. (#165584)</title>
<updated>2025-10-31T16:49:32+00:00</updated>
<author>
<name>Sarah Spall</name>
<email>sarahspall@microsoft.com</email>
</author>
<published>2025-10-31T16:49:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=42004193f4e22a61dc68f6414b82077edd1314e2'/>
<id>42004193f4e22a61dc68f6414b82077edd1314e2</id>
<content type='text'>
Add a new langopt NativeInt16Type to control support for 16 bit
integers.
Enable by default for all languages but HLSL. 
HLSL defines uint16_t and int16_t as a typedef of short. If
-enable-16bit-types is not used, the typedefs don't exist so int16_t and
uint16_t can't be used. However, short was still allowed. This change
will produce an error 'unknown type name short' if -enable-16bit-types
isn't used.
Update failing tests. 
Add new test.
Closes #81779</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new langopt NativeInt16Type to control support for 16 bit
integers.
Enable by default for all languages but HLSL. 
HLSL defines uint16_t and int16_t as a typedef of short. If
-enable-16bit-types is not used, the typedefs don't exist so int16_t and
uint16_t can't be used. However, short was still allowed. This change
will produce an error 'unknown type name short' if -enable-16bit-types
isn't used.
Update failing tests. 
Add new test.
Closes #81779</pre>
</div>
</content>
</entry>
<entry>
<title>[HLSL] Add support for elementwise and aggregate splat casting struct types with bitfields (#161263)</title>
<updated>2025-10-06T15:26:23+00:00</updated>
<author>
<name>Sarah Spall</name>
<email>sarahspall@microsoft.com</email>
</author>
<published>2025-10-06T15:26:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=35c57a778bbd25d4df92b4b0e172b2f2aa3bf4f3'/>
<id>35c57a778bbd25d4df92b4b0e172b2f2aa3bf4f3</id>
<content type='text'>
Adds support for elementwise and aggregate splat casting struct types
with bitfields. Replacing existing Flattening function which used to
produce a list of GEPs representing a flattened object with one that
produces a list of LValues representing a flattened object. The LValues
can be used by EmitStoreThroughLValue and EmitLoadOfLValue, ensuring
bitfields are properly loaded and stored. This also simplifies the code
in the elementwise and aggregate splat casting functions.
Closes #125986</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds support for elementwise and aggregate splat casting struct types
with bitfields. Replacing existing Flattening function which used to
produce a list of GEPs representing a flattened object with one that
produces a list of LValues representing a flattened object. The LValues
can be used by EmitStoreThroughLValue and EmitLoadOfLValue, ensuring
bitfields are properly loaded and stored. This also simplifies the code
in the elementwise and aggregate splat casting functions.
Closes #125986</pre>
</div>
</content>
</entry>
<entry>
<title>[HLSL] Treat classes and structs as packed by default (#137391)</title>
<updated>2025-04-28T20:44:46+00:00</updated>
<author>
<name>Justin Bogner</name>
<email>mail@justinbogner.com</email>
</author>
<published>2025-04-28T20:44:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=f9855917f6a4af4cedbfb2d6df927a308e6e5f4c'/>
<id>f9855917f6a4af4cedbfb2d6df927a308e6e5f4c</id>
<content type='text'>
Fixes #121010.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #121010.</pre>
</div>
</content>
</entry>
<entry>
<title>[HLSL] Implement HLSL Elementwise casting (excluding splat cases); Re-land #118842 (#126258)</title>
<updated>2025-02-07T17:12:55+00:00</updated>
<author>
<name>Sarah Spall</name>
<email>sarahspall@microsoft.com</email>
</author>
<published>2025-02-07T17:12:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=3f8e2802069aabe4384ecd4575d50fd4457dae51'/>
<id>3f8e2802069aabe4384ecd4575d50fd4457dae51</id>
<content type='text'>
Implement HLSLElementwiseCast excluding support for splat cases
Do not support casting types that contain bitfields.
Partly closes https://github.com/llvm/llvm-project/issues/100609 and
partly closes https://github.com/llvm/llvm-project/issues/100619
Re-land #118842 after fixing warning as an error, found by a buildbot.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement HLSLElementwiseCast excluding support for splat cases
Do not support casting types that contain bitfields.
Partly closes https://github.com/llvm/llvm-project/issues/100609 and
partly closes https://github.com/llvm/llvm-project/issues/100619
Re-land #118842 after fixing warning as an error, found by a buildbot.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "[HLSL] Implement HLSL Flat casting (excluding splat cases)" (#126149)</title>
<updated>2025-02-06T23:25:20+00:00</updated>
<author>
<name>Sarah Spall</name>
<email>sarahspall@microsoft.com</email>
</author>
<published>2025-02-06T23:25:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=14716f2e4b2d771af0fe9163540a8f08ffe1e5ec'/>
<id>14716f2e4b2d771af0fe9163540a8f08ffe1e5ec</id>
<content type='text'>
Reverts llvm/llvm-project#118842</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reverts llvm/llvm-project#118842</pre>
</div>
</content>
</entry>
<entry>
<title>[HLSL] Implement HLSL Flat casting (excluding splat cases) (#118842)</title>
<updated>2025-02-06T22:38:01+00:00</updated>
<author>
<name>Sarah Spall</name>
<email>sarahspall@microsoft.com</email>
</author>
<published>2025-02-06T22:38:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.belthelziquor.com/llvm-project.git/commit/?id=01072e546fd6243b889c6cfc109e9ad761e1b17c'/>
<id>01072e546fd6243b889c6cfc109e9ad761e1b17c</id>
<content type='text'>
Implement HLSLElementwiseCast excluding support for splat cases
Do not support casting types that contain bitfields.
Partly closes #100609 and partly closes #100619</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement HLSLElementwiseCast excluding support for splat cases
Do not support casting types that contain bitfields.
Partly closes #100609 and partly closes #100619</pre>
</div>
</content>
</entry>
</feed>
