[Scalar] Remove isValidSingle (NFC)

The last use was removed on Feb 18, 2022 in commit
00ab91b70d.
This commit is contained in:
Kazu Hirata 2022-06-05 08:45:11 -07:00
parent a13b61f7f0
commit 30f19382c6
1 changed files with 0 additions and 8 deletions

View File

@ -90,14 +90,6 @@ struct ConstraintTy {
/// Returns true if all preconditions for this list of constraints are
/// satisfied given \p CS and the corresponding \p Value2Index mapping.
bool isValid(const ConstraintInfo &Info) const;
/// Returns true if there is exactly one constraint in the list and isValid is
/// also true.
bool isValidSingle(const ConstraintInfo &Info) const {
if (size() != 1)
return false;
return isValid(Info);
}
};
/// Wrapper encapsulating separate constraint systems and corresponding value