================ @@ -953,8 +953,17 @@ class SelectionDAG { } /// Insert \p SubVec at the \p Idx element of \p Vec. + /// If \p SkipUndef is true and \p SubVec is UNDEF/POISON, then \p Vec is + /// returned. ---------------- arsenm wrote:
This is a strange pattern that I feel like should be avoided. I don't understand why this would need semantic treatment. These get* functions should just return with the node with the requested operands https://github.com/llvm/llvm-project/pull/143105 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits