Skip to content

clang should go through ABI lowering when emitting call to __enqueue_kernel_basic #130216

@arsenm

Description

@arsenm

In #130011 I hacked around the emission for BIenqueue_kernel getting the wrong argument type for a byref (or byval) passed argument.

This code should avoid special casing the IR used for calling the builtin function, and go through the ordinary ABI lowering to find the IR types.

Attaching junk patch I produced while trying to figure out how to do this.

0001-clang-Try-to-use-ABI-paths-for-emitting-call-to-__en.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    OpenCLclang:codegenIR generation bugs: mangling, exceptions, etc.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions