diff options
author | c8ef <c8ef@outlook.com> | 2024-10-29 10:08:38 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-29 10:08:38 +0800 |
commit | 0c1c37bfbed08c9d4e414a10f46cbed9a3e4c870 (patch) | |
tree | 3c4d344803f2562d93467c98acca352f07a0412b /llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | |
parent | 6128ff6630762310f6ae4eb61adda02cb4ad5260 (diff) | |
download | llvm-0c1c37bfbed08c9d4e414a10f46cbed9a3e4c870.zip llvm-0c1c37bfbed08c9d4e414a10f46cbed9a3e4c870.tar.gz llvm-0c1c37bfbed08c9d4e414a10f46cbed9a3e4c870.tar.bz2 |
[TLI] Add support for the `tgamma` libcall. (#113791)
This patch adds the `tgamma` libcall.
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 3469403..98f8989 100644 --- a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp +++ b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp @@ -303,6 +303,9 @@ TEST_F(TargetLibraryInfoTest, ValidProto) { "declare double @erf(double)\n" "declare float @erff(float)\n" "declare x86_fp80 @erfl(x86_fp80)\n" + "declare double @tgamma(double)\n" + "declare float @tgammaf(float)\n" + "declare x86_fp80 @tgammal(x86_fp80)\n" "declare i32 @printf(i8*, ...)\n" "declare i32 @putc(i32, %struct*)\n" "declare i32 @putc_unlocked(i32, %struct*)\n" |