Skip to content

Translator doesn't handle LLVM integer types. #481

Open
@bader

Description

https://godbolt.org/z/p3D7TX - legit OpenCL code, which translator can't convert to SPIR-V due to i3 type.
The translator with the assertions gives me:

InvalidBitWidth: Invalid bit width in input: 3

Proper LLVM back-end should be able to handle such types...

Is there an easy way to avoid such types in LLVM IR by configuring SPIR target in clang?

Metadata

Assignees

No one assigned

    Labels

    agendaTooling Call AgendabugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions