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

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 15 18:35:29 PDT 2015


> 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.


More information about the llvm-dev mailing list