[clang] [llvm] MIPS/clang: Fix asm constraint for softfloat (PR #79116)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 7 21:04:05 PST 2024


================
@@ -0,0 +1,8 @@
+// RUN: %clang_cc1 -triple mips -target-feature +soft-float -DSOFT_FLOAT_NO_CONSTRAINT_F -fsyntax-only -verify %s
+
+#ifdef SOFT_FLOAT_NO_CONSTRAINT_F
+void read_float(float* p) {
----------------
MaskRay wrote:

Can just use argument `float p`?

https://github.com/llvm/llvm-project/pull/79116


More information about the cfe-commits mailing list