<div dir="ltr">David,<div><br></div><div>Would you mind documenting what you did with AddedComplexity for the 'less fortunate' on the wiki?</div><div><br></div><div>Thanks,</div><div>Justin.<br><br><div class="gmail_quote">
On Mon, Apr 6, 2009 at 9:47 PM, David Greene <span dir="ltr"><<a href="mailto:dag@cray.com">dag@cray.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Monday 06 April 2009 13:31, David Greene wrote:<br>
> What's a reliable way to prefer one patterns over another?  I have two<br>
> patterns with different predicates.  Pattern A has a very general predicate<br>
> to catch a wide variety of store instructions.  Pattern B has a narrower<br>
> predicate meant to catch very specific store instructions that would also<br>
> satisfy the predicate for Pattern A.<br>
><br>
> We used to match Pattern B just fine but after changing .td files a bit the<br>
> selector is always picking Pattern A.<br>
><br>
> Setting AddedComplexity doesn't seem to help.<br>
<br>
</div>Urk.  I set AddedComplexity on the wrong thing.  Seems to work now.<br>
<div><div></div><div class="h5"><br>
                                                -Dave<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>