[all-commits] [llvm/llvm-project] 952944: [ObjC][ARC] Don't add operand bundle clang.arc.att...

Akira Hatanaka via All-commits all-commits at lists.llvm.org
Tue Jun 29 10:24:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 952944c12c0aa917e97805e929b5cd4e40866f91
      https://github.com/llvm/llvm-project/commit/952944c12c0aa917e97805e929b5cd4e40866f91
  Author: Akira Hatanaka <ahatanaka at apple.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M clang/lib/CodeGen/CGObjC.cpp
    A clang/test/CodeGenObjCXX/arc-rv-attr.mm

  Log Message:
  -----------
  [ObjC][ARC] Don't add operand bundle clang.arc.attachedcall to a call if
the call already has the operand bundle

This bug was causing the call to `replaceAllUsesWith` to crash because
the old call instruction and the new call instruction were the same.

rdar://74957948

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




More information about the All-commits mailing list