Skip to content

Cranelift test runner should handle booleans of larger types #2237

@abrown

Description

@abrown

The test run directive compiles CLIF to machine code using the SingleFunctionCompiler; the trampolines created here are limited in that they only really understand how to handle small booleans: b1 and b8. They should support larger boolean types, both scalar and vector.

The underlying issue here is that Cranelift's load and store do not operate on boolean types so the trampoline must convert them from an equivalent integer type in memory to their boolean type before calling the compiled function (and vice-versa for the return).

Metadata

Metadata

Assignees

No one assigned

    Labels

    craneliftIssues related to the Cranelift code generator

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions