[all-commits] [llvm/llvm-project] ad90a6: [OpaquePtr] Create new bitcode encoding for atomicrmw

aeubanks via All-commits all-commits at lists.llvm.org
Tue May 25 16:31:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad90a6be219a547873beb80f977e45e23e9247ac
      https://github.com/llvm/llvm-project/commit/ad90a6be219a547873beb80f977e45e23e9247ac
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

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

  Log Message:
  -----------
  [OpaquePtr] Create new bitcode encoding for atomicrmw

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.

Reviewed By: dblaikie

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




More information about the All-commits mailing list