search for: inputhaschain

Displaying 2 results from an estimated 2 matches for "inputhaschain".

2008 Oct 20
2
[LLVMdev] TableGen Hacking Help
...generate the SHUFPD we call SelectNodeTo which only transforms the immediate node (the vector_shuffle). It doesn't recurse to replace child nodes. 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 getTargetNode / ReplaceUses instead of SelectNodeTo but ReplaceUses doesn't know how to handle a complex pattern like this. It complains about having...
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 > getTargetNode / ReplaceUses instead of SelectNodeTo but ReplaceUses doesn't > know how to handle a complex pattern like this. I...