commit | 271b87d2637e0b49b1f87a70be3473181c4cf3ac | [log] [tgz] |
---|---|---|
author | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | Sun Oct 18 16:10:43 2020 +0100 |
committer | Alex Richardson <Alexander.Richardson@cl.cam.ac.uk> | Sun Oct 18 16:10:47 2020 +0100 |
tree | 8e33a95f7d4dd3c2aefbb7e11604b461122f2579 | |
parent | 25883edc2f615a84c4fa741e997904293474bbc0 [diff] |
Fix build of MiBench on FreeBSD RISC-V Unlike other architectures the RISC-V headers on FreeBSD don't expose the macros used here (since RISC-V does not provide floating-point traps). This patch checks for the presence of FP_X_INV before using it. Reviewed By: dim Differential Revision: https://reviews.llvm.org/D89557