[all-commits] [llvm/llvm-project] 31b752: [ObjC][ARC] Check whether the return and parameter...

ahatanaka via All-commits all-commits at lists.llvm.org
Thu Oct 24 13:08:59 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 31b752cbf0db5a022ec21a9db5bd217c46f5cf4a
      https://github.com/llvm/llvm-project/commit/31b752cbf0db5a022ec21a9db5bd217c46f5cf4a
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2019-10-24 (Thu, 24 Oct 2019)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    A llvm/test/Bitcode/upgrade-arc-runtime-calls-bitcast.bc
    A llvm/test/Bitcode/upgrade-arc-runtime-calls-bitcast.ll

  Log Message:
  -----------
  [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




More information about the All-commits mailing list