Skip to content

Commit 463a096

Browse files
authored
[RISCV] Remove the TODO for fmaximum/fminimum from the tests. (NFC) (#129969)
https://reviews.llvm.org/D156069 has supported it.
1 parent e4c3d25 commit 463a096

File tree

3 files changed

+0
-51
lines changed

3 files changed

+0
-51
lines changed

llvm/test/CodeGen/RISCV/double-intrinsics.ll

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -818,23 +818,6 @@ define double @maxnum_f64(double %a, double %b) nounwind {
818818
ret double %1
819819
}
820820

821-
; TODO: FMINNAN and FMAXNAN aren't handled in
822-
; SelectionDAGLegalize::ExpandNode.
823-
824-
; declare double @llvm.minimum.f64(double, double)
825-
826-
; define double @fminimum_f64(double %a, double %b) nounwind {
827-
; %1 = call double @llvm.minimum.f64(double %a, double %b)
828-
; ret double %1
829-
; }
830-
831-
; declare double @llvm.maximum.f64(double, double)
832-
833-
; define double @fmaximum_f64(double %a, double %b) nounwind {
834-
; %1 = call double @llvm.maximum.f64(double %a, double %b)
835-
; ret double %1
836-
; }
837-
838821
declare double @llvm.copysign.f64(double, double)
839822

840823
define double @copysign_f64(double %a, double %b) nounwind {

llvm/test/CodeGen/RISCV/float-intrinsics.ll

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -802,23 +802,6 @@ define float @maxnum_f32(float %a, float %b) nounwind {
802802
ret float %1
803803
}
804804

805-
; TODO: FMINNAN and FMAXNAN aren't handled in
806-
; SelectionDAGLegalize::ExpandNode.
807-
808-
; declare float @llvm.minimum.f32(float, float)
809-
810-
; define float @fminimum_f32(float %a, float %b) nounwind {
811-
; %1 = call float @llvm.minimum.f32(float %a, float %b)
812-
; ret float %1
813-
; }
814-
815-
; declare float @llvm.maximum.f32(float, float)
816-
817-
; define float @fmaximum_f32(float %a, float %b) nounwind {
818-
; %1 = call float @llvm.maximum.f32(float %a, float %b)
819-
; ret float %1
820-
; }
821-
822805
declare float @llvm.copysign.f32(float, float)
823806

824807
define float @copysign_f32(float %a, float %b) nounwind {

llvm/test/CodeGen/RISCV/half-intrinsics.ll

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2135,23 +2135,6 @@ define half @maxnum_f16(half %a, half %b) nounwind {
21352135
ret half %1
21362136
}
21372137

2138-
; TODO: FMINNAN and FMAXNAN aren't handled in
2139-
; SelectionDAGLegalize::ExpandNode.
2140-
2141-
; declare half @llvm.minimum.f16(half, half)
2142-
2143-
; define half @fminimum_f16(half %a, half %b) nounwind {
2144-
; %1 = call half @llvm.minimum.f16(half %a, half %b)
2145-
; ret half %1
2146-
; }
2147-
2148-
; declare half @llvm.maximum.f16(half, half)
2149-
2150-
; define half @fmaximum_f16(half %a, half %b) nounwind {
2151-
; %1 = call half @llvm.maximum.f16(half %a, half %b)
2152-
; ret half %1
2153-
; }
2154-
21552138
declare half @llvm.copysign.f16(half, half)
21562139

21572140
define half @copysign_f16(half %a, half %b) nounwind {

0 commit comments

Comments
 (0)