diff options
author | Yingwei Zheng <dtcxzyw2333@gmail.com> | 2024-07-19 16:35:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-19 16:35:59 +0800 |
commit | e8fbefe15b101d7d30366cbe2ac068449923f5e2 (patch) | |
tree | 906073c13e300befe948e6a43bd89fad8babe223 /llvm/unittests/Analysis/TargetLibraryInfoTest.cpp | |
parent | 270f5e42b8daab586ffcd2b46ff41486199f6626 (diff) | |
download | llvm-e8fbefe15b101d7d30366cbe2ac068449923f5e2.zip llvm-e8fbefe15b101d7d30366cbe2ac068449923f5e2.tar.gz llvm-e8fbefe15b101d7d30366cbe2ac068449923f5e2.tar.bz2 |
[TLI] Add basic support for remquo libcall (#99611)
This patch adds basic support for `remquo`. Constant folding support
will be submitted in a subsequent patch.
Related issue: https://github.com/llvm/llvm-project/issues/99497
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 1fe94e2..1447291 100644 --- a/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp +++ b/llvm/unittests/Analysis/TargetLibraryInfoTest.cpp @@ -281,6 +281,9 @@ TEST_F(TargetLibraryInfoTest, ValidProto) { "declare float @remainderf(float, float)\n" "declare x86_fp80 @remainderl(x86_fp80, x86_fp80)\n" "declare i32 @remove(i8*)\n" + "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 i32 @rename(i8*, i8*)\n" "declare void @rewind(%struct*)\n" "declare double @rint(double)\n" |