Leonard Chan fa6aadd6cb [llvm] Prevent building for riscv32-unknown-fuchsia
Fuchsia is exclusively 64-bit so this throw an error when using this
triple.

Differential Revision: https://reviews.llvm.org/D144998
2023-03-01 19:42:56 +00:00

7 lines
187 B
LLVM

; RUN: not --crash llc -mtriple=riscv32-unknown-fuchsia < %s 2>&1 | FileCheck %s
; CHECK: LLVM ERROR: Fuchsia is only supported for 64-bit
define void @nothing() nounwind {
ret void
}