Skip to content

Commit a79acbd

Browse files
committed
DAG: Remove leftover debugging assert
Accidentally added in b540162
1 parent 591b0d0 commit a79acbd

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -718,11 +718,6 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_ExpOp(SDNode *N) {
718718
: RTLIB::getLDEXP(N->getValueType(0));
719719
assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fpowi.");
720720
if (!TLI.getLibcallName(LC)) {
721-
#ifndef NDEBUG
722-
RTLIB::Libcall NewLC = RTLIB::getPOW(N->getValueType(0));
723-
assert(NewLC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fpow type");
724-
#endif
725-
726721
// Some targets don't have a powi libcall; use pow instead.
727722
// FIXME: Implement this if some target needs it.
728723
DAG.getContext()->emitError("do not know how to soften fpowi to fpow");

0 commit comments

Comments
 (0)