[all-commits] [llvm/llvm-project] cb3580: [OpaquePtr][BitcodeWriter] Handle attributes with ...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Jun 29 14:48:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cb3580e7ad247dfdcf2ad279895f52bb73c4cee4
      https://github.com/llvm/llvm-project/commit/cb3580e7ad247dfdcf2ad279895f52bb73c4cee4
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/lib/Bitcode/Writer/ValueEnumerator.cpp
    M llvm/test/Assembler/opaque-ptr.ll

  Log Message:
  -----------
  [OpaquePtr][BitcodeWriter] Handle attributes with types

For example, byval.

Skip the type attribute auto-upgrade if we already have the type.

I've actually seen this error of the ValueEnumerator missing a type
attribute's type in a non-opaque pointer context.

Reviewed By: nikic

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




More information about the All-commits mailing list