Skip to content

Commit

Permalink
Added test
Browse files Browse the repository at this point in the history
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
  • Loading branch information
braw-lee committed Sep 15, 2024
1 parent 46f031f commit 2ec09a7
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions llvm/test/Transforms/InstCombine/win-math.ll
Original file line number Diff line number Diff line change
Expand Up @@ -333,3 +333,15 @@ define float @float_powsqrt(float %x) nounwind readnone {
%1 = call ninf float @powf(float %x, float 0.5)
ret float %1
}

define fp128 @fdim_fp128(fp128 %x, fp128 %y) nounwind readnone{
; CHECK-LABEL: define fp128 @fdim_fp128(
; MINGW32-NOT: fp128 @fdiml
;
%1 = call fp128 @fdiml(fp128 %x, fp128 %y)
ret fp128 %1
}

declare double @fdim(double, double)
declare float @fdimf(float, float)
declare fp128 @fdiml(fp128, fp128)

0 comments on commit 2ec09a7

Please sign in to comment.