summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/lto/riscv32.ll
blob: 1fe5547748fc329d4b65a49af0901c1e8b96b076 (plain)
1
2
3
4
5
6
7
8
9
10
; REQUIRES: riscv

; RUN: llvm-as %s -o %t.o
; RUN: ld.lld %t.o -o %t
target datalayout = "e-m:e-p:32:32-i64:64-n32-S128"
target triple = "riscv32-unknown-elf"

define void @f() {
  ret void
}
OpenPOWER on IntegriCloud