[PATCH] D95993: Add auto-upgrade support for annotation intrinsics

Andy Kaylor via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 18:22:04 PST 2021


andrew.w.kaylor created this revision.
andrew.w.kaylor added reviewers: Tyker, fhahn, tstellar.
Herald added subscribers: dexonsmith, hiraditya.
andrew.w.kaylor requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

The llvm.ptr.annotation and llvm.var.annotation intrinsics were changedsince 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.


https://reviews.llvm.org/D95993

Files:
  llvm/lib/IR/AutoUpgrade.cpp
  llvm/test/Bitcode/upgrade-ptr-annotation.ll
  llvm/test/Bitcode/upgrade-ptr-annotation.ll.bc
  llvm/test/Bitcode/upgrade-var-annotation.ll
  llvm/test/Bitcode/upgrade-var-annotation.ll.bc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95993.321288.patch
Type: text/x-patch
Size: 5192 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210204/cdacf455/attachment.bin>


More information about the llvm-commits mailing list