<div dir="auto">Hi, <div dir="auto"><br></div><div dir="auto">I've written a few target specific dag combine functions, called from performDAGCombine. The mechanism is great but my testing quite labour intensive - I search for IR which hits the new function then check the MIR downstream.</div><div dir="auto"><br></div><div dir="auto">I would like to write tests along the lines of "given this dag, call this function on that node, then check the result is equivalent to this other dag". Could you point me at the appropriate API for creating a dag from scratch, and for performing an equivalence test?</div><div dir="auto"><br></div><div dir="auto">Thanks,</div><div dir="auto"><br></div><div dir="auto">Jon</div><div dir="auto"><br></div><div dir="auto"><br></div></div>