Commit 461274b8 authored by YunQiang Su's avatar YunQiang Su Committed by Tom Stellard
Browse files

MIPS: Fix asm constraints "f" and "r" for softfloat (#79116)



This include 2 fixes:
        1. Disallow 'f' for softfloat.
        2. Allow 'r' for softfloat.

Currently, 'f' is accpeted by clang, then LLVM meets an internal error.

'r' is rejected by LLVM by: couldn't allocate input reg for constraint
'r'.

Fixes: #64241, #63632

---------

Co-authored-by: default avatarFangrui Song <i@maskray.me>
(cherry picked from commit c88beb41)
parent e2182a6b
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