[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
Wed Sep 11 17:01:12 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:
Ohh. I see. It's interesting that it fails only for r2+.
https://github.com/llvm/llvm-project/pull/107543
More information about the llvm-commits
mailing list