Skip to content

Cranelift: sret argument without use causes bad SSA to be passed to regalloc #8659

Closed
@cfallin

Description

As reported by @bjorn3 just now, we get a compilation panic with the following:

test compile precise-output
target aarch64

function u0:11(i64 sret) system_v {
                                block0(v0: i64):
                                    nop
                                    jump block1

                                block1:
                                    nop
@0001                               return
}

This was bisected just now to #8438 (first failing in 3befbe5). @jameysharp, could you take a look? We should backport and do a point-release on the just-released Cranelift as well as @bjorn3 discovered this while trying to upgrade.

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