Displaying 3 results from an estimated 3 matches for "targetselectoindag".
Did you mean:
targetselectiondag
2009 Jul 06
1
[LLVMdev] Help on DAG pattern matching string
Hello, Everyone
> TargetSelectoinDAG.td and then why the two versions are "identical" in
> TableGen's mind.
That's correct. The patterns are identical since the types of operands
involved are the same. DAG pattern matching is done before regalloc,
there are not regclasses actually at that point, thus both patterns...
2009 Jul 06
0
[LLVMdev] Help on DAG pattern matching string
...,
you probably don't want to turn off the "commutative" property, unless
it really isn't commutative. I know it's painful, but it might be best
just to slog through the TableGen code in a debugger, and see why it
is that your stuff inherits properties from the ADD in
TargetSelectoinDAG.td and then why the two versions are "identical" in
TableGen's mind.
-bw
On Jul 5, 2009, at 7:15 PM, Javier Martinez wrote:
> Hi Bill,
>
> Yes, there are other patterns. I tried commenting out all the other
> instructions definitions and I still get this error. Afte...
2009 Jul 06
2
[LLVMdev] Help on DAG pattern matching string
Hi Bill,
Yes, there are other patterns. I tried commenting out all the other
instructions definitions and I still get this error. After debugging
TblGen I found that the second pattern is being generated as a variant
of the first. I think the reason is that the PADD instruction is
inheriting the commutative property from ADD defined
inTargetSelectionDAG.td. The variant ends up being the same