LLVM PR/29052 highlighted that FastISel for MIPS attempted to lower
arguments assuming that it was using the paired 32bit registers to
perform operations for f64. This mode of operation is not supported
for MIPSR6.
This patch resolves the reported issue by adding additional checks
for unsupported floating point unit configuration.
Thanks to mike.k for reporting this issue!
I'm not sure why we need this RUN test. I would expect a not llc -mattr=fp64 ... test in order to make sure that for 64bit FPU registers we don't follow the FastISel path.