diff options
author | braw-lee <93831198+braw-lee@users.noreply.github.com> | 2024-09-20 11:52:33 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 10:22:33 +0400 |
commit | 173841cc56a12410e6ca7e4a37151d7057c6d20f (patch) | |
tree | 8e5fc96bca91cee36f02d9690b5e092e0d20bcf8 /llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | |
parent | 5e7810882c8b58431358cd8da3a329a3c505de2c (diff) | |
download | llvm-173841cc56a12410e6ca7e4a37151d7057c6d20f.zip llvm-173841cc56a12410e6ca7e4a37151d7057c6d20f.tar.gz llvm-173841cc56a12410e6ca7e4a37151d7057c6d20f.tar.bz2 |
[TLI] Add basic support for fdim libcall (#108702)
first PR to fix #108695
Signed-off-by: Kushal Pal <kushalpal109@gmail.com>
Diffstat (limited to 'llvm/unittests/Analysis/TargetLibraryInfoTest.cpp')
-rw-r--r-- | llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp index ac8ccc0..4975651 100644 --- a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp +++ b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp @@ -317,6 +317,9 @@ TEST_F(TargetLibraryInfoTest, ValidProto) { "declare double @remquo(double, double, ptr)\n" "declare float @remquof(float, float, ptr)\n" "declare x86_fp80 @remquol(x86_fp80, x86_fp80, ptr)\n" + "declare double @fdim(double, double)\n" + "declare float @fdimf(float, float)\n" + "declare x86_fp80 @fdiml(x86_fp80, x86_fp80)\n" "declare i32 @rename(i8*, i8*)\n" "declare void @rewind(%struct*)\n" "declare double @rint(double)\n" |