SuccessChanges

Summary

  1. [ObjC][ARC] Check whether the return and parameter types of the old and (details)
Commit 31b752cbf0db5a022ec21a9db5bd217c46f5cf4a by Akira
[ObjC][ARC] Check whether the return and parameter types of the old and
new functions are compatible before upgrading a function call to an
intrinsic call.
Sometimes users insert calls to ARC runtime functions that are not
compatible with the corresponding intrinsic functions (for example,
'i8* @objc_storeStrong' instead of 'void @objc_storeStrong'). Don't
upgrade those calls.
rdar://problem/56447127
The file was addedllvm/test/Bitcode/upgrade-arc-runtime-calls-bitcast.bc
The file was modifiedllvm/lib/IR/AutoUpgrade.cpp
The file was addedllvm/test/Bitcode/upgrade-arc-runtime-calls-bitcast.ll