[all-commits] [llvm/llvm-project] d5cf43: [ObjCARC] Use objc_msgSend instead of llvm.objc.ms...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jul 15 13:22:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5cf437d3a3f496deed21211782f8fc640c688b0
      https://github.com/llvm/llvm-project/commit/d5cf437d3a3f496deed21211782f8fc640c688b0
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-07-15 (Thu, 15 Jul 2021)

  Changed paths:
    M llvm/test/Transforms/ObjCARC/allocas.ll
    M llvm/test/Transforms/ObjCARC/basic.ll
    M llvm/test/Transforms/ObjCARC/contract-testcases.ll
    M llvm/test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
    M llvm/test/Transforms/ObjCARC/invoke-2.ll
    M llvm/test/Transforms/ObjCARC/invoke.ll
    M llvm/test/Transforms/ObjCARC/move-and-form-retain-autorelease.ll
    M llvm/test/Transforms/ObjCARC/move-and-merge-autorelease.ll
    M llvm/test/Transforms/ObjCARC/nested.ll
    M llvm/test/Transforms/ObjCARC/path-overflow.ll
    M llvm/test/Transforms/ObjCARC/retain-not-declared.ll

  Log Message:
  -----------
  [ObjCARC] Use objc_msgSend instead of llvm.objc.msgSend in tests

D55348 replaced @objc_msgSend with @llvm.objc.msgSend in tests
together with many other objc intrinsics. However, this is not a
recognized objc intrinsic (https://llvm.org/docs/LangRef.html#objective-c-arc-runtime-intrinsics)
and does not receive special treatment by LLVM. It's likely that
uses of this function were renamed by accident.

This came up in D106013, because the address of @llvm.objs.msgSend
is taken, something which is normally not allowed for intrinsics.

Differential Revision: https://reviews.llvm.org/D106094




More information about the All-commits mailing list