summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorAlex Bradbury <asb@lowrisc.org>2018-11-15 14:46:11 +0000
committerAlex Bradbury <asb@lowrisc.org>2018-11-15 14:46:11 +0000
commit7727240438429813a1b61cd17370dbd9343f068d (patch)
treea62bd20e6f1863dd70e14751c85f550c6826d459 /llvm/lib/Analysis/InstructionSimplify.cpp
parentd6965174d53ff772f4e92228610030ac591ac38e (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud