That’s another way to achieve it, yes. But I think you also need a chain (MVT::Other) to connect them. A chain in SelectionDAG is a more permissive version of glue. It imposes only a causal relationship between two SDNodes rather than forcing them to be together. It’s usually used to model things like side effects, for instance loads / stores.
1 Like