[RISCV][test] Add test coverage for llvm.frexp.*.* intrinsics
authorAlex Bradbury <asb@igalia.com>
Wed, 5 Jul 2023 09:39:14 +0000 (10:39 +0100)
committerAlex Bradbury <asb@igalia.com>
Wed, 5 Jul 2023 09:40:39 +0000 (10:40 +0100)
commit7de4c6f8d932f1bf8c1f80fe2ee93ee4fb1a8a10
treedd50a7f87fd94ada27cf0c2e83f64d83175bc4b7
parentd84d418e2adc421c98e484ab3b09e2f4f3e5c1ef
[RISCV][test] Add test coverage for llvm.frexp.*.* intrinsics

Reapply - the issue was that the `< %s` was missing in the RUN lines,
which didn't impact update_llc_test_checks but of course caused issues
for lit.

The test file is copied from X86 (which is also mostly shared with Arm,
PowerPC) rather than integrated into float-intrinsics.ll and
double-intrinsics.ll.

There's currently a compiler crash for the soft float cases (expect this
is the issue in <https://github.com/llvm/llvm-project/issues/63661>)
which will be a addressed with a follow-on patch posted for review.
llvm/test/CodeGen/RISCV/llvm.frexp.ll [new file with mode: 0644]