[llvm] 735736f - Mips: Remove test for ldexp with x86_fp80 (#148641)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 08:50:19 PDT 2025
Author: Matt Arsenault
Date: 2025-07-15T00:50:16+09:00
New Revision: 735736fbad93ec640c8585a6f8a0610d93fa9cbb
URL: https://github.com/llvm/llvm-project/commit/735736fbad93ec640c8585a6f8a0610d93fa9cbb
DIFF: https://github.com/llvm/llvm-project/commit/735736fbad93ec640c8585a6f8a0610d93fa9cbb.diff
LOG: Mips: Remove test for ldexp with x86_fp80 (#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.
Added:
Modified:
llvm/test/CodeGen/Mips/ldexp.ll
Removed:
################################################################################
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