<div dir="ltr">Hello, <div>through my work on writing a backend, I've noticed that when I need to replace a pattern in the SelectionDAG with a different pattern the correct way to do it seems to be through the LowerOperation hook in the TargetLowering class.</div><div><br></div><div>I was wondering if there is some way to achieve the same thing using tablegen, thank you!</div></div>