Skip to content

Commit

Permalink
Revert "[ConstantFolding] Fix crash when folding vector llvm.is.fpclass"
Browse files Browse the repository at this point in the history
This reverts commit 5fc6425.

It is reported to cause other crashes that require a larger fix.
  • Loading branch information
jayfoad committed Apr 21, 2023
1 parent cea5d28 commit 2b81ec3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
2 changes: 0 additions & 2 deletions llvm/lib/Analysis/VectorUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ bool llvm::isTriviallyVectorizable(Intrinsic::ID ID) {
case Intrinsic::pow:
case Intrinsic::fma:
case Intrinsic::fmuladd:
case Intrinsic::is_fpclass:
case Intrinsic::powi:
case Intrinsic::canonicalize:
case Intrinsic::fptosi_sat:
Expand All @@ -104,7 +103,6 @@ bool llvm::isVectorIntrinsicWithScalarOpAtArg(Intrinsic::ID ID,
case Intrinsic::abs:
case Intrinsic::ctlz:
case Intrinsic::cttz:
case Intrinsic::is_fpclass:
case Intrinsic::powi:
return (ScalarOpdIdx == 1);
case Intrinsic::smul_fix:
Expand Down
12 changes: 0 additions & 12 deletions llvm/test/Transforms/InstSimplify/is_fpclass.ll

This file was deleted.

0 comments on commit 2b81ec3

Please sign in to comment.