================
@@ -344,7 +375,9 @@ static APInt getVariantMatchScore(const VariantMatchInfo
&VMI,
// TODO: Handling separately.
break;
case TraitSet::invalid:
- llvm_unreachable("Unknown trait set is not to be used!");
+ // Unknown properties can be applicable under match_any or match_none.
+ // They contribute no score unless an explicit score was handled above.
----------------
MattPD wrote:
Fixed by https://github.com/llvm/llvm-project/pull/224431: The unknown `arch`
candidate keeps its weight, and all three COLLAPSE diagnostics are reported at
9dd52517.
https://github.com/llvm/llvm-project/pull/219014
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits