[llvm] CodeGen: Add ISD::AssertNoFPClass (PR #135946)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 23 04:00:29 PDT 2025
================
@@ -16,3 +16,45 @@ entry:
%cond = tail call float @llvm.maximumnum.f32(float %a, float %b)
ret float %cond
}
+
+define { float, float } @struct({ float, float} nofpclass(nan) %a) {
+; MIPS32R6-LABEL: struct:
+; MIPS32R6: # %bb.0:
+; MIPS32R6-NEXT: mov.s $f2, $f14
+; MIPS32R6-NEXT: jr $ra
+; MIPS32R6-NEXT: mov.s $f0, $f12
+;
+; MIPS64R6-LABEL: struct:
+; MIPS64R6: # %bb.0:
+; MIPS64R6-NEXT: mov.s $f2, $f13
+; MIPS64R6-NEXT: jr $ra
+; MIPS64R6-NEXT: mov.s $f0, $f12
----------------
arsenm wrote:
Missing a use that shows this did something
https://github.com/llvm/llvm-project/pull/135946
More information about the llvm-commits
mailing list