hi, comrades, I was raising two questions: 1)ependence loop in SelectionDAG. there is no loop in a DAG,but i did meet a situation there was a loop. an example is a BR node targets a node after it in the chain. to the BR node . the target node is an operand . to the target node, the BR node is in the "Chain" pointed to by operand 0. is it wro 2) Chain in some nodes, operand 0 is a Chain.
Hi, On 15 April 2014 23:45, Huaibo Wang <huaibo.wang at gmail.com> wrote:> there is no loop in a DAG,but i did meet a situation there was a loop. > > an example is a BR node targets a node after it in the chain.That does sound like a bug. Is this in one of the existing targets, or something else you're working on? If it's something we can test, attaching a .ll file that reproduces it would help us see what's gone wrong. Cheers. Tim.