[all-commits] [llvm/llvm-project] 362b40: [ObjCARC] Drop nullary clang.arc.attachedcall bund...

Ahmed Bougacha via All-commits all-commits at lists.llvm.org
Fri May 20 15:27:49 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 362b4066f0c6178d639db41517549e13b3610036
      https://github.com/llvm/llvm-project/commit/362b4066f0c6178d639db41517549e13b3610036
  Author: Ahmed Bougacha <ahmed at bougacha.org>
  Date:   2022-05-20 (Fri, 20 May 2022)

  Changed paths:
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/IR/AutoUpgrade.cpp
    A llvm/test/Bitcode/upgrade-arc-attachedcall-bundle.ll
    A llvm/test/Bitcode/upgrade-arc-attachedcall-bundle.ll.bc

  Log Message:
  -----------
  [ObjCARC] Drop nullary clang.arc.attachedcall bundles in autoupgrade.

In certain use-cases, these can be emitted by old compilers, but the
operand is now always required.  These are only used for optimizations,
so it's safe to drop them if they happen to have the now-invalid format.
The semantically-required call is already a separate instruction.

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




More information about the All-commits mailing list