[llvm] Prevent building for riscv32-unknown-fuchsia
authorLeonard Chan <leonardchan@google.com>
Wed, 1 Mar 2023 19:42:15 +0000 (19:42 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 1 Mar 2023 19:42:56 +0000 (19:42 +0000)
commitfa6aadd6cb680f366fed50030f6a667ff30c33c9
treefb368b1902cdf9c0ef718d8ee465dce1dd4eec7f
parentbdb955b307c56f42290a6f88409673093841c3ab
[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
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/test/CodeGen/RISCV/rv32-fuchsia.ll [new file with mode: 0644]