commit | d566da724ad9c7b4f391ee61e51714e5d39cacad | [log] [tgz] |
---|---|---|
author | Alex Bradbury <asb@lowrisc.org> | Thu Nov 15 14:46:11 2018 +0000 |
committer | Alex Bradbury <asb@lowrisc.org> | Thu Nov 15 14:46:11 2018 +0000 |
tree | 204990fdbee74488efe83f768e67cb8d822e426c | |
parent | 5ba6366a246d3078fbb597f6aad41d100fa40bb2 [diff] |
[RISCV] Mark FREM as Expand Mark the FREM SelectionDAG node as Expand, which is necessary in order to support the frem IR instruction on RISC-V. This is expanded into a library call. Adds the corresponding test. Previously, this would have triggered an assertion at instruction selection time. Differential Revision: https://reviews.llvm.org/D54159 Patch by Luís Marques. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346958 91177308-0d34-0410-b5e6-96231b3b80d8