[RISCV] Add test cases for fli.h and fli.d CodeGen bugs. NFC
authorCraig Topper <craig.topper@sifive.com>
Sun, 12 Mar 2023 18:14:20 +0000 (11:14 -0700)
committerCraig Topper <craig.topper@sifive.com>
Sun, 12 Mar 2023 18:28:49 +0000 (11:28 -0700)
commit858451c50b81379d1761e3f31d8c5e712b6fb77f
tree2545954d2591817da36cd1b13120b8220549dad2
parentc8e2dd8c6f490b68e41fe663b44535a8a21dfeab
[RISCV] Add test cases for fli.h and fli.d CodeGen bugs. NFC

We fail to use fli.h for the 2 denormal values.
We use fli.d for some values where the value is larger than a float
can represent due to truncating the exponent to 8 bits without checking
if it fits in 8 bits.
llvm/test/CodeGen/RISCV/double-zfa.ll
llvm/test/CodeGen/RISCV/half-zfa-fli.ll