[llvm] Mips: Remove test for ldexp with x86_fp80 (PR #148641)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 07:52:22 PDT 2025
https://github.com/arsenm created https://github.com/llvm/llvm-project/pull/148641
This was a copy paste error from the x86 test, and
it compiled accidentally to ldexpl. Delete this
since it will start to error in a future change.
>From a0f220bc9c602eb1f941b95939b72b6e2a155685 Mon Sep 17 00:00:00 2001
From: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: Mon, 14 Jul 2025 23:50:40 +0900
Subject: [PATCH] Mips: Remove test for ldexp with x86_fp80
This was a copy paste error from the x86 test, and
it compiled accidentally to ldexpl. Delete this
since it will start to error in a future change.
---
llvm/test/CodeGen/Mips/ldexp.ll | 18 ------------------
1 file changed, 18 deletions(-)
diff --git a/llvm/test/CodeGen/Mips/ldexp.ll b/llvm/test/CodeGen/Mips/ldexp.ll
index d321cdb828e43..8d266e2fb7017 100644
--- a/llvm/test/CodeGen/Mips/ldexp.ll
+++ b/llvm/test/CodeGen/Mips/ldexp.ll
@@ -125,28 +125,10 @@ define half @ldexp_f16(half %arg0, i32 %arg1) nounwind {
ret half %ldexp
}
-define x86_fp80 @ldexp_f80(x86_fp80 %arg0, i32 %arg1) nounwind {
-; SOFT-LABEL: ldexp_f80:
-; SOFT: # %bb.0:
-; SOFT-NEXT: addiu $sp, $sp, -24
-; SOFT-NEXT: sw $ra, 20($sp) # 4-byte Folded Spill
-; SOFT-NEXT: jal ldexpl
-; SOFT-NEXT: andi $4, $4, 65535
-; SOFT-NEXT: move $4, $2
-; SOFT-NEXT: addiu $2, $zero, 0
-; SOFT-NEXT: lw $ra, 20($sp) # 4-byte Folded Reload
-; SOFT-NEXT: jr $ra
-; SOFT-NEXT: addiu $sp, $sp, 24
- %ldexp = call x86_fp80 @llvm.ldexp.f80.i32(x86_fp80 %arg0, i32 %arg1)
- ret x86_fp80 %ldexp
-}
-
-
declare double @llvm.ldexp.f64.i32(double, i32) #0
declare float @llvm.ldexp.f32.i32(float, i32) #0
declare <2 x float> @llvm.ldexp.v2f32.v2i32(<2 x float>, <2 x i32>) #0
declare <4 x float> @llvm.ldexp.v4f32.v4i32(<4 x float>, <4 x i32>) #0
-declare x86_fp80 @llvm.ldexp.f80.i32(x86_fp80, i32)
declare half @llvm.ldexp.f16.i32(half, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
More information about the llvm-commits
mailing list