<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 16, 2015 at 5:38 AM, Meador Inge <span dir="ltr"><<a href="mailto:meadori@gmail.com" target="_blank">meadori@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Thu, Oct 15, 2015 at 8:35 PM, Tim Northover via llvm-dev<br>
<<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
<br>
>> def : ProcessorModel<"generic", MyTargetModel, [FeatureDiv, FeatureMul]>;<br>
>> def : ProcessorModel<"or1200",  MyTargetModel, [FeatureDiv, FeatureMul]>;<br>
><br>
> Ah! I see the check is actually looking for a strict ordering. Could<br>
> there be 2 CPUs defined with the same name?<br>
<br>
</span>That is the conclusion I came to as well.  I suspect that both "ProcessorModel"<br>
and "Proc" commands are in the .td file.  Something like:<br>
<br>
  def : Proc<"generic", [FeatureMul, FeatureDiv]>;<br>
  def : Proc<"or1201",  [FeatureMul, FeatureDiv]>;<br>
<span class="">  def : ProcessorModel<"generic", MyTargetModel, [FeatureDiv, FeatureMul]>;<br>
  def : ProcessorModel<"or1200",  MyTargetModel, [FeatureDiv, FeatureMul]>;<br>
<br>
</span>where really only the ProcessorModel ones should be used after adding the<br>
scheduling model.<br>
<span class="HOEnZb"><font color="#888888"><br>
-- Meador<br>
</font></span></blockquote></div><div><br></div><div>Once I got home, I realized that as well.</div><div><br></div><div>Thanks for the help.</div>
</div></div>