Skip to content

[MLIR] LLVM dialect overflow intrinsics lack the i1 result type #141206

Open
@Sirraide

Description

@Sirraide

The overflow intrinsics in the LLVM dialect (LLVM_SAddWithOverflowOp and friends) are defined to have only a single integer result, even though the LLVM IR intrinsics they correspond to return 2 values (or rather, an aggregate with two fields): the actual integer result and an i1 that signals whether overflow happened.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions