Displaying 2 results from an estimated 2 matches for "patternhasproperti".
Did you mean:
patternhasproperty
2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
Ok, this is really complicated. I need some TableGen experts to help here.
I need a little help doing a final bit of tblgen hacking.
I've hacked tblgen to handle patterns like this:
let AddedComplexity = 40 in {
def : Pat<(vector_shuffle (v2f64 (scalar_to_vector (loadf64 addr:$src1))),
(v2f64 (scalar_to_vector (loadf64 addr:$src2))),
2008 Oct 20
0
[LLVMdev] TableGen Hacking Help
On Mon, 2008-10-20 at 11:49 -0500, David Greene wrote:
> I tried hacking tblgen to call getTargetNode / ReplaceUses if any node in the
> pattern has a chain by changing this line in tblgen:
>
> bool InputHasChain = isRoot &&
> NodeHasProperty(Pattern, SDNPHasChain, CGP);
>
> to call PatternHasProperty instead. This does cause tblgen to emit
>