Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

[spirv] [tracking] SPIR-V dialect #302

@antiagainst

Description

@antiagainst

(NOTE: This is not updated anymore. Please see https://mlir.llvm.org/docs/Dialects/SPIR-V/ for supported features.)

This is a tracking bug for completing the SPIR-V dialect. It will be periodically updated to provide the current status. Anybody interested in helping is very welcome to pick up tasks here! :)

Core infrastructure

  • Dialect skeleton (scaffolding, registration, etc.)
  • Serialization & deserialization skeleton
  • Script to query SPIR-V HLSL and JSON spec to auto-generate SPIR-V dialect op definitions
  • TableGen backend to auto-generate SPIR-V (de)serialization logic
  • Version/extension/capability support
  • Extension library organization

For Vulkan compute

  • Module structure
  • Types
    • Scalar types
      • void, bool, Int, float
      • Integer signedness
    • Vector
    • (Runtime) Array
    • Struct
  • Operations
  • Control flow
    • Structured selection
    • Structured loop
    • Phi
    • Switch

For Vulkan graphics

[TODO]

For OpenCL

[TODO]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions