Skip to content

Commit 2b81ec3

Browse files
committed
Revert "[ConstantFolding] Fix crash when folding vector llvm.is.fpclass"
This reverts commit 5fc6425. It is reported to cause other crashes that require a larger fix.
1 parent cea5d28 commit 2b81ec3

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

llvm/lib/Analysis/VectorUtils.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ bool llvm::isTriviallyVectorizable(Intrinsic::ID ID) {
8686
case Intrinsic::pow:
8787
case Intrinsic::fma:
8888
case Intrinsic::fmuladd:
89-
case Intrinsic::is_fpclass:
9089
case Intrinsic::powi:
9190
case Intrinsic::canonicalize:
9291
case Intrinsic::fptosi_sat:
@@ -104,7 +103,6 @@ bool llvm::isVectorIntrinsicWithScalarOpAtArg(Intrinsic::ID ID,
104103
case Intrinsic::abs:
105104
case Intrinsic::ctlz:
106105
case Intrinsic::cttz:
107-
case Intrinsic::is_fpclass:
108106
case Intrinsic::powi:
109107
return (ScalarOpdIdx == 1);
110108
case Intrinsic::smul_fix:

llvm/test/Transforms/InstSimplify/is_fpclass.ll

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)