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 874e2f8 commit 5b414cbCopy full SHA for 5b414cb
llvm/include/llvm/TextAPI/Target.h
@@ -54,8 +54,8 @@ inline bool operator!=(const Target &LHS, const Target &RHS) {
54
}
55
56
inline bool operator<(const Target &LHS, const Target &RHS) {
57
- return std::tie(LHS.Arch, LHS.Platform, LHS.MinDeployment) <
58
- std::tie(RHS.Arch, RHS.Platform, RHS.MinDeployment);
+ // In most cases the deployment version is not useful to compare.
+ return std::tie(LHS.Arch, LHS.Platform) < std::tie(RHS.Arch, RHS.Platform);
59
60
61
inline bool operator==(const Target &LHS, const Architecture &RHS) {
0 commit comments