[all-commits] [llvm/llvm-project] 9a8279: Add auto-upgrade support for annotation intrinsics

Andy Kaylor via All-commits all-commits at lists.llvm.org
Mon Feb 22 15:42:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a827906cb95e7c3ae94627558da67b47ffde249
      https://github.com/llvm/llvm-project/commit/9a827906cb95e7c3ae94627558da67b47ffde249
  Author: Andy Kaylor <andrew.kaylor at intel.com>
  Date:   2021-02-22 (Mon, 22 Feb 2021)

  Changed paths:
    M llvm/lib/IR/AutoUpgrade.cpp
    A llvm/test/Bitcode/upgrade-ptr-annotation.ll
    A llvm/test/Bitcode/upgrade-ptr-annotation.ll.bc
    A llvm/test/Bitcode/upgrade-var-annotation.ll
    A llvm/test/Bitcode/upgrade-var-annotation.ll.bc

  Log Message:
  -----------
  Add auto-upgrade support for annotation intrinsics

The llvm.ptr.annotation and llvm.var.annotation intrinsics were changed
since the 11.0 release to add an additional parameter. This patch
auto-upgrades IR containing the four-parameter versions of these
intrinsics, adding a null pointer as the fifth argument.

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




More information about the All-commits mailing list