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

Andy Kaylor via All-commits all-commits at lists.llvm.org
Tue Feb 23 11:14:43 PST 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: eccac5a8aec92c995f0f8ef090ba4142e0334b46
      https://github.com/llvm/llvm-project/commit/eccac5a8aec92c995f0f8ef090ba4142e0334b46
  Author: Andy Kaylor <andrew.kaylor at intel.com>
  Date:   2021-02-23 (Tue, 23 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

(cherry picked from commit 9a827906cb95e7c3ae94627558da67b47ffde249)




More information about the All-commits mailing list