Skip to content

Commit

Permalink
Fix MSVC "not all control paths return a value" warning. NFC.
Browse files Browse the repository at this point in the history
  • Loading branch information
RKSimon committed Aug 6, 2024
1 parent f57a3a0 commit 1b85935
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13157,6 +13157,7 @@ std::optional<bool> SelectionDAG::isBoolConstant(SDValue N,
case TargetLowering::UndefinedBooleanContent:
return CVal[0];
}
llvm_unreachable("Unknown BooleanContent enum");
}

void SelectionDAG::createOperands(SDNode *Node, ArrayRef<SDValue> Vals) {
Expand Down

0 comments on commit 1b85935

Please sign in to comment.