[all-commits] [llvm/llvm-project] c88beb: MIPS: Fix asm constraints "f" and "r" for softfloa...
YunQiang Su via All-commits
all-commits at lists.llvm.org
Mon Feb 26 22:08:48 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c88beb4112d5bbf07d76a615ab7f13ba2ba023e6
https://github.com/llvm/llvm-project/commit/c88beb4112d5bbf07d76a615ab7f13ba2ba023e6
Author: YunQiang Su <syq at debian.org>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M clang/lib/Basic/Targets/Mips.h
A clang/test/CodeGen/Mips/inline-asm-constraints.c
A clang/test/Sema/inline-asm-validate-mips.c
M llvm/lib/Target/Mips/MipsISelLowering.cpp
A llvm/test/CodeGen/Mips/inlineasm-constraints-softfloat.ll
Log Message:
-----------
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: Fangrui Song <i at maskray.me>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list