[PATCH] D87254: [PATCH 05/27] [noalias] LLVM-IR Bitcode support

Jeroen Dobbelaere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 14:29:18 PDT 2020


jeroen.dobbelaere created this revision.
jeroen.dobbelaere added reviewers: hfinkel, jdoerfert.
Herald added subscribers: llvm-commits, jfb, hiraditya.
Herald added a project: LLVM.
jeroen.dobbelaere requested review of this revision.

Implement LLVM-IR Bitcode support for the ptr_provenance optional argument of load/store instructions.

The optional argument is encoded as follows:

- when present: '1', ptr_provenance value
- when absent: '0'

If the ptr_provenance is absent, and no (future) new parameters have been added, the '0' can be omitted.


https://reviews.llvm.org/D87254

Files:
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/test/Bitcode/compatibility.ll
  llvm/test/Bitcode/loadstore_ptr_provenance.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87254.290369.patch
Type: text/x-patch
Size: 13372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200907/c4b85560/attachment.bin>


More information about the llvm-commits mailing list