Skip to content

[NVPTX] Backend crash on byval reference to external constant #138138

@jhuber6

Description

@jhuber6

The following code was regressed since the LLVM 20 release and now crashes in the libc test suite. The reproducer is at https://godbolt.org/z/Pjc4nT88P. If you remove the byval it works, so I'm assuming that's where the error lies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:NVPTXcrashPrefer [crash-on-valid] or [crash-on-invalid]

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions