Skip to content

[AArch64] Why doesn't clang generate stp/ldp for 256-bit value ? #139005

Open
@Zhenhang1213

Description

@Zhenhang1213

In arm document: it shows that if use keywords like volatile with a 128-bit structure type, it is possible to treat two 64-bit values as a 128-bit value. I have confirmed this works in Clang/GCC. However, when I extend this to a 256-bit data structure, LLVM cannot handle it while GCC can. Is it possible to extend LLVM's behavior?

demo:
https://godbolt.org/z/Eoj454o6T

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions