[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,193 @@
+; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --filter "CALL64pcrel32|:gr32 = COPY \$eax|MOV32mr|:gr64 = COPY|\$rax = COPY|\$eax = COPY|RET" --version 6
+; RUN: llc -mtriple=x86_64-unknown-linux-gnu -mcpu=x86-64 \
+; RUN:   -mattr=+avx,+soft-float -stop-after=finalize-isel -o - < %s \
+; RUN:   | FileCheck %s --check-prefix=MIR
+
+declare float @llvm.sqrt.f32(float)
+declare <4 x float> @llvm.sqrt.v4f32(<4 x float>)
+declare <8 x float> @llvm.sqrt.v8f32(<8 x float>)
----------------
RKSimon wrote:

Should be unnecessary

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


More information about the llvm-commits mailing list