#
56222a06 |
| 23-Dec-2019 |
Mehdi Amini <aminim@google.com> |
Adjust License.txt file to use the LLVM license
PiperOrigin-RevId: 286906740
|
#
75906bd5 |
| 24-Sep-2019 |
Mahesh Ravishankar <ravishankarm@google.com> |
Handle OpMemberName instruction in SPIR-V deserializer.
Sdd support in deserializer for OpMemberName instruction. For now the name is just processed and not associated with the spirv::StructType bei
Handle OpMemberName instruction in SPIR-V deserializer.
Sdd support in deserializer for OpMemberName instruction. For now the name is just processed and not associated with the spirv::StructType being built. That needs an enhancement to spirv::StructTypes itself. Add tests to check for errors reported during deserialization with some refactoring to common out some utility functions. PiperOrigin-RevId: 270794524
show more ...
|
#
c61991ef |
| 23-Sep-2019 |
River Riddle <riverriddle@google.com> |
Refactor DiagnosticEngine to support multiple registered diagnostic handlers.
This fixes a problem with current save-restore pattern of diagnostics handlers, as there may be a thread race between wh
Refactor DiagnosticEngine to support multiple registered diagnostic handlers.
This fixes a problem with current save-restore pattern of diagnostics handlers, as there may be a thread race between when the previous handler is destroyed. For example, this occurs when using multiple ParallelDiagnosticHandlers asynchronously:
Handler A Handler B | - LifeTime - | Restore A here. Handler C | --- LifeTime ---| Restore B after it has been destroyed.
The new design allows for multiple handlers to be registered in a stack like fashion. Handlers can return success() to signal that they have fully processed a diagnostic, or failure to propagate otherwise.
PiperOrigin-RevId: 270720625
show more ...
|
#
3af6b533 |
| 27-Aug-2019 |
Lei Zhang <antiagainst@google.com> |
[spirv] Fix the entry block to start with OpLabel
Each basic block in SPIR-V must start with an OpLabel instruction. We don't support control flow yet, so this CL just makes sure that the entry bloc
[spirv] Fix the entry block to start with OpLabel
Each basic block in SPIR-V must start with an OpLabel instruction. We don't support control flow yet, so this CL just makes sure that the entry block follows this rule and is valid.
PiperOrigin-RevId: 265718841
show more ...
|
#
4a55bd5f |
| 30-Jul-2019 |
Lei Zhang <antiagainst@google.com> |
[spirv] Add basic infrastructure for negative deserializer tests
We are relying on serializer to construct positive cases to drive the test for deserializer. This leaves negative cases untested.
Th
[spirv] Add basic infrastructure for negative deserializer tests
We are relying on serializer to construct positive cases to drive the test for deserializer. This leaves negative cases untested.
This CL adds a basic test fixture for covering the negative corner cases to enforce a more robust deserializer.
Refactored common SPIR-V building methods out of serializer to share it with the deserialization test.
PiperOrigin-RevId: 260742733
show more ...
|