Skip to content

Commit 89aa034

Browse files
Dropping FP128 as they are target specific.
1 parent f00bc4e commit 89aa034

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

llvm/lib/Analysis/TargetLibraryInfo.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,8 +1158,6 @@ bool TargetLibraryInfoImpl::getLibFunc(const Instruction &I, LibFunc &F) const {
11581158
F = LibFunc_fmod;
11591159
else if (ScalarTy->isFloatTy())
11601160
F = LibFunc_fmodf;
1161-
else if (ScalarTy->isFP128Ty())
1162-
F = LibFunc_fmodl;
11631161
else
11641162
return false;
11651163
return true;

llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -680,5 +680,4 @@ class TLITestAarch64ArmPl : public ::testing::Test {
680680
TEST_F(TLITestAarch64ArmPl, TestFrem) {
681681
EXPECT_EQ(getFremScalarName(Type::getDoubleTy(Ctx)), "fmod");
682682
EXPECT_EQ(getFremScalarName(Type::getFloatTy(Ctx)), "fmodf");
683-
EXPECT_EQ(getFremScalarName(Type::getFP128Ty(Ctx)), "fmodl");
684683
}

0 commit comments

Comments
 (0)