Skip to content

[SPIR-V] Regression - Internal Compiler error: llvm::cast<X>() argument of incompatible type! #7671

@Fletterio

Description

@Fletterio

I have a shader that was working on commit 71f2766 which would be DXC commit 0beaa76

It's no longer working after merging DXC d64d34c. It now throws the error in the title when trying to compile, so whatever broke it is somewhere inbetween.

Here's the Godbolt with a repro: https://godbolt.org/z/oKfvE9Mrj

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crashneeds-triageAwaiting triagespirvWork related to SPIR-V

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions