diff options
author | Alex Bradbury <asb@lowrisc.org> | 2018-11-02 19:50:38 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2018-11-02 19:50:38 +0000 |
commit | 52c27785cedc66464d356a961bdc7e3671c5775f (patch) | |
tree | 7a95ad79af9e1d9bd245dc7b22121a28fe8bd138 /lldb/unittests/ScriptInterpreter/Python | |
parent | 37829b56a1ef3e98868aebb39a32aca87ab8805e (diff) | |
download | llvm-52c27785cedc66464d356a961bdc7e3671c5775f.zip llvm-52c27785cedc66464d356a961bdc7e3671c5775f.tar.gz llvm-52c27785cedc66464d356a961bdc7e3671c5775f.tar.bz2 |
[RISCV] Add some missing expansions for floating-point intrinsics
A number of intrinsics, such as llvm.sin.f32, would result in a failure to
select. This patch adds expansions for the relevant selection DAG nodes, as
well as exhaustive testing for all f32 and f64 intrinsics.
The codegen for FMA remains a TODO item, pending support for the various
RISC-V FMA instruction variants.
The llvm.minimum.f32.* and llvm.maximum.* tests are commented-out, pending
upstream support for target-independent expansion, as discussed in
http://lists.llvm.org/pipermail/llvm-dev/2018-November/127408.html.
Differential Revision: https://reviews.llvm.org/D54034
Patch by Luís Marques.
llvm-svn: 346034
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions