SuccessChanges

Summary

  1. [SDAG] fold insert_vector_elt with undef index (details)
  2. PR43762: when implicitly changing the active union member for an (details)
  3. PR43400: Add test that we can instantiate a friend function that is (details)
Commit 85a2146c155953d5bdfb2e7e6ba9780fc2dab1b9 by spatel
[SDAG] fold insert_vector_elt with undef index
Similar to: rG4c47617627fb
This makes the DAG behavior consistent with IR's insertelement.
https://bugs.llvm.org/show_bug.cgi?id=42689
I've tried to maintain test intent for AArch64 and WebAssembly by
replacing undef index operands with something else.
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/simd.ll
The file was modifiedllvm/test/CodeGen/AArch64/sched-past-vector-ldst.ll
The file was modifiedllvm/test/CodeGen/X86/insertelement-var-index.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit faee39baa87e43f4b746dd77e479268391163658 by richard
PR43762: when implicitly changing the active union member for an
assignment during constant evaluation, only start the lifetime of
trivially-default-constructible union members.
The file was modifiedclang/lib/AST/ExprConstant.cpp
The file was modifiedclang/test/SemaCXX/constant-expression-cxx2a.cpp
Commit 06d3fce01d4f4dfd743e24e1f553afbb6709610f by richard
PR43400: Add test that we can instantiate a friend function that is
defined as deleted.
The actual bug was fixed in commit d052a578.
The file was modifiedclang/test/SemaTemplate/instantiate-friend-function.cpp