[PATCH] D52165: [RISCV] Support RISC-V in getBitcodeMachineKind
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 1 20:03:11 PDT 2019
MaskRay added a comment.
For riscv64, you can write a test (placed under `test/ELF/lto/`) like this:
; REQUIRES: riscv
; RUN: llvm-as %s -o %t.o
; RUN: ld.lld %t.o -o %t
target datalayout = "e-m:e-p:64:64-i64:64-i128:128-n64-S128"
target triple = "riscv64-unknown-elf"
define void @f() {
ret void
}
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D52165/new/
https://reviews.llvm.org/D52165
More information about the llvm-commits
mailing list