aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-02-02 10:33:09 -0800
committerGitHub <noreply@github.com>2024-02-02 10:33:09 -0800
commitd4de4c3eafa9b70c255a4d6d5a14dccff79d10e9 (patch)
tree69958d6f8eac34262a2184e512b4dd0dea43ebcf /llvm/tools
parent9cc2122bf5a81f7063c2a32b2cb78c8d615578a1 (diff)
downloadllvm-d4de4c3eafa9b70c255a4d6d5a14dccff79d10e9.zip
llvm-d4de4c3eafa9b70c255a4d6d5a14dccff79d10e9.tar.gz
llvm-d4de4c3eafa9b70c255a4d6d5a14dccff79d10e9.tar.bz2
[AArch64] Support optional constant offset for constraint "S" (#80255)
Modify the initial implementation (https://reviews.llvm.org/D46745) to support a constant offset so that the following code will compile: ``` int a[2][2]; void foo() { asm("// %0" :: "S"(&a[1][1])); } ``` We use the generic code path for "s". In GCC's aarch64 port, "S" is supported for PIC while "s" isn't, making "s" less useful. We implement "S" but not "s". Similar to #80201 for RISC-V.
Diffstat (limited to 'llvm/tools')
0 files changed, 0 insertions, 0 deletions