[llvm] [MIPS] Fix -msingle-float doesn't work with double on O32 (PR #107543)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 18 03:05:08 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
----------------
arsenm wrote:
Don't need -O2. The mattr is also missing +, and -march should be mtriple
https://github.com/llvm/llvm-project/pull/107543
More information about the llvm-commits
mailing list