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

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 10:10:22 PDT 2026


================
@@ -0,0 +1,19 @@
+; Scalar f32 has no register class with SSE1, no SSE2, and no x87.
+; RUN: llc -mtriple=i686-unknown-linux-gnu -mattr=+sse,-sse2,-x87 \
+; RUN:   -verify-machineinstrs -o /dev/null < %s
+
+declare float @llvm.sqrt.f32(float)
----------------
RKSimon wrote:

unnecessary forward declaration

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


More information about the llvm-commits mailing list