Commit 422ffc52 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV][GISel] Add instruction selection for G_FCONSTANT using integer materialization.

This supports any G_FCONSTANT for F and D extensions.

This builds the constant in the integer domain and moves it to FP
using either FMV or the stack.

Eventually we should use the constant pool for some constants that
require many instructions, but this is a good starting point to
get something working.
parent 4fe0d35f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment