[PATCH] D103123: [OpaquePtr] Create new bitcode encoding for atomicrmw

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 25 15:35:47 PDT 2021


aeubanks created this revision.
aeubanks added a reviewer: dblaikie.
Herald added subscribers: jfb, hiraditya.
aeubanks requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Since the opaque pointer type won't contain the pointee type, we need to
separately encode the value type for an atomicrmw.

Emit this new code for atomicrmw.

Handle this new code and the old one in the bitcode reader.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103123

Files:
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/test/Bitcode/atomicrmw-upgrade.ll
  llvm/test/Bitcode/atomicrmw-upgrade.ll.bc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103123.347812.patch
Type: text/x-patch
Size: 4880 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210525/6a8dbcd3/attachment.bin>


More information about the llvm-commits mailing list