[llvm] [llvm] Indirect symbol replacement with GOTPCREL for aarch64 and risc… (PR #78003)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 12 16:35:41 PST 2024
================
@@ -1,4 +1,6 @@
-; RUN: llc %s -mtriple=x86_64-unknown-fuchsia -o - | FileCheck %s
+; RUN: llc %s -mtriple=x86_64-unknown-fuchsia -o - | FileCheck %s
+; RUN: llc %s -mtriple=aarch64-unknown-fuchsia -o - | FileCheck %s
----------------
MaskRay wrote:
MC/ELF requires X86.
For aarch64 and riscv64, you need `%if aarch64-registered-target` and a similar directive for riscv.
https://github.com/llvm/llvm-project/pull/78003
More information about the llvm-commits
mailing list