FailedChanges

Summary

  1. AMDGPU: Disallow spill folding with m0 copies (details)
  2. [MS] Don't reference deleted copy ctors from catchable types (details)
Commit d9e0a2942ac71327166a3a597e8383192fd19b17 by arsenm2
AMDGPU: Disallow spill folding with m0 copies
readlane and writelane instructions are not allowed to use m0 as the
data operand, so spilling them is tricky and would require an
intermediate SGPR to spill it. Constrain the virtual register class in
this caes to disallow the inline spiller from folding the m0 operand
directly into the spill instruction.
I copied this hack from AArch64 which has the same problem for $sp.
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was addedllvm/test/CodeGen/AMDGPU/fold-reload-into-m0.mir
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.h
Commit 812bdb3c13210759341e8a1b08b864a539ce9dc7 by rnk
[MS] Don't reference deleted copy ctors from catchable types
When throwing objects with deleted copy constructors, the copy ctor
field of the catchable type should remain null and the mangle name
changes. This already worked in simple cases, but in cases involving
non-trivial subobjects, sometimes LookupCopyingConstructor could return
a non-null but deleted constructor decl. Skip those and don't reference
them.
Fixes PR43680
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
The file was modifiedclang/test/CodeGenCXX/microsoft-abi-throw.cpp