[all-commits] [llvm/llvm-project] d5a4d6: [BitcodeReader] propagateAttributeTypes(): fix opa...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Tue Dec 28 11:07:20 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5a4d6a4974a34092f161b0d23c3376e0f9e33ae
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-12-28 (Tue, 28 Dec 2021)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/test/Bitcode/attributes.ll

  Log Message:
  [BitcodeReader] propagateAttributeTypes(): fix opaque pointer handling

Can't get the pointee type of an opaque pointer,
but in that case said attributes must already be typed,
so just don't try to rewrite them if they already are.

More information about the All-commits mailing list