Skip to content

Crash in MapStablehloToScalarOp when bitcast_convert is lowered with quantized type. #2854

@tlsdmstn56

Description

@tlsdmstn56

What happened?

https://github.com/openxla/stablehlo/blob/main/stablehlo/conversions/linalg/transforms/MapStablehloToScalarOp.h#L824-L825

Crash these lines if operand or result is quantized type because it is neither integral or float type.

Steps to reproduce your issue

No response

Version information

No response

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