[llvm] Mips: Remove test for ldexp with x86_fp80 (PR #148641)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 14 07:52:58 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-mips
Author: Matt Arsenault (arsenm)
<details>
<summary>Changes</summary>
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.
---
Full diff: https://github.com/llvm/llvm-project/pull/148641.diff
1 Files Affected:
- (modified) llvm/test/CodeGen/Mips/ldexp.ll (-18)
``````````diff
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) }
``````````
</details>
https://github.com/llvm/llvm-project/pull/148641
More information about the llvm-commits
mailing list