[llvm] [X86] Require legal result types for f32 estimates (PR #217810)

via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 4 22:10:22 PDT 2026


================
@@ -0,0 +1,43 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc -mtriple=i686-unknown-linux-gnu -mattr=+sse,-sse2,-x87 < %s | FileCheck %s
+;
+; Scalar f32 has no register class with SSE1, no SSE2, and no x87.
+
+define float @recip_f32(float %n, float %d) #0 {
+; CHECK-LABEL: recip_f32:
+; CHECK:       # %bb.0:
+; CHECK-NEXT:    subl $20, %esp
+; CHECK-NEXT:    .cfi_adjust_cfa_offset 20
----------------
MattPD wrote:

Added `nounwind` and regenerated the checks.

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


More information about the llvm-commits mailing list