[llvm-dev] what can cause a "CPU table is not sorted" assertion

Tim Northover via llvm-dev
Fri, 16 Oct 2015 01:35:29 -0000

> def : ProcessorModel<"generic", MyTargetModel, [FeatureDiv,
FeatureMul]>;
> def : ProcessorModel<"or1200",  MyTargetModel, [FeatureDiv,
FeatureMul]>;

Ah! I see the check is actually looking for a strict ordering. Could
there be 2 CPUs defined with the same name?

Tim.