Skip to content

Improve small typed shilft operations by using proper masks for second argument #1495

Closed
@MaxGraey

Description

@MaxGraey

Similar to #1492 we should mask second arg by type.size - 1 (shift) for ops like: <<, >>, >>> if all arguments is small (i16, u8 ...)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions