SuccessChanges

Summary

  1. [CodeGen][ObjC] Destroy callee-destroyed arguments in the caller (details)
  2. [AMDGPU][MC][NFC] Added more tests for flat_global (details)
Commit 34405b41d61580ff893057784b1b19f81f66bad3 by Akira
[CodeGen][ObjC] Destroy callee-destroyed arguments in the caller
function when the receiver is nil

Callee-destroyed arguments to a method have to be destroyed in the
caller function when the receiver is nil as the method doesn't get
executed. This fixes PR48207.

rdar://71808391

Differential Revision: https://reviews.llvm.org/D93273
The file was modifiedclang/include/clang/AST/Decl.h
The file was modifiedclang/lib/AST/Decl.cpp
The file was modifiedclang/test/CodeGenObjC/strong-in-c-struct.m
The file was modifiedclang/test/CodeGenObjCXX/objc-struct-cxx-abi.mm
The file was addedclang/test/CodeGenObjC/objc-dispatch-null-check.m
The file was modifiedclang/lib/CodeGen/CGObjCMac.cpp
The file was modifiedclang/test/CodeGenObjC/weak-in-c-struct.m
Commit 6d02d12e172ac85d750e1abe48a0c24559c63158 by dmitry.preobrazhensky
[AMDGPU][MC][NFC] Added more tests for flat_global

Restored tests from 7898803c638497ad32e2d4a189d5597d4eb4506e
The file was modifiedllvm/test/MC/AMDGPU/flat-global.s