diff options
author | Alex Bradbury <asb@lowrisc.org> | 2018-11-15 14:46:11 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2018-11-15 14:46:11 +0000 |
commit | 7727240438429813a1b61cd17370dbd9343f068d (patch) | |
tree | a62bd20e6f1863dd70e14751c85f550c6826d459 /llvm/lib/Analysis/InstructionSimplify.cpp | |
parent | d6965174d53ff772f4e92228610030ac591ac38e (diff) | |
download | bcm5719-llvm-7727240438429813a1b61cd17370dbd9343f068d.tar.gz bcm5719-llvm-7727240438429813a1b61cd17370dbd9343f068d.zip |
[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.
llvm-svn: 346958
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions