[llvm] [MIPS] Fix -msingle-float doesn't work with double on O32 (PR #107543)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 10 09:04:58 PDT 2024


================
@@ -1,8 +1,18 @@
-; RUN: llc -march=mips -mattr=single-float  < %s | FileCheck %s
+; RUN: llc -march=mips -mcpu=mips32 -mattr=single-float -O2 < %s | FileCheck %s
+; RUN: llc -march=mips -mcpu=mips32r2 -mattr=single-float -O2 < %s | FileCheck %s
 
 define double @dofloat(double %a, double %b) nounwind {
----------------
wzssyqa wrote:

The test is OK.  The bug report is about clang.

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


More information about the llvm-commits mailing list