[clang] [llvm] MIPS/clang: Fix asm constraint for softfloat (PR #79116)
YunQiang Su via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 21 02:31:04 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) {
----------------
wzssyqa wrote:
Oh, yes. we can use `float p` here.
https://github.com/llvm/llvm-project/pull/79116
More information about the cfe-commits
mailing list