We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1141d commit ace3d30Copy full SHA for ace3d30
llvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
@@ -718,8 +718,10 @@ SDValue DAGTypeLegalizer::SoftenFloatRes_ExpOp(SDNode *N) {
718
: RTLIB::getLDEXP(N->getValueType(0));
719
assert(LC != RTLIB::UNKNOWN_LIBCALL && "Unexpected fpowi.");
720
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
726
// Some targets don't have a powi libcall; use pow instead.
727
// FIXME: Implement this if some target needs it.
0 commit comments