[LLVMdev] ISel Pattern Preferences
just.s0m3.guy+llvmdev at gmail.com
Mon Apr 6 23:20:06 PDT 2009
Would you mind documenting what you did with AddedComplexity for the 'less
fortunate' on the wiki?
On Mon, Apr 6, 2009 at 9:47 PM, David Greene <dag at cray.com> wrote:
> On Monday 06 April 2009 13:31, David Greene wrote:
> > What's a reliable way to prefer one patterns over another? I have two
> > patterns with different predicates. Pattern A has a very general
> > to catch a wide variety of store instructions. Pattern B has a narrower
> > predicate meant to catch very specific store instructions that would also
> > satisfy the predicate for Pattern A.
> > We used to match Pattern B just fine but after changing .td files a bit
> > selector is always picking Pattern A.
> > Setting AddedComplexity doesn't seem to help.
> Urk. I set AddedComplexity on the wrong thing. Seems to work now.
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev