[all-commits] [llvm/llvm-project] 1c456a: [Bitcode] Improve support for opaque-pointer bitco...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Feb 15 00:40:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c456a82205cd3a06c87ad498f0bbddf963d8645
      https://github.com/llvm/llvm-project/commit/1c456a82205cd3a06c87ad498f0bbddf963d8645
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    M llvm/test/Bitcode/DIExpression-aggresult.ll

  Log Message:
  -----------
  [Bitcode] Improve support for opaque-pointer bitcode upgrade

This is step two of supporting autoupgrade of old bitcode to opaque
pointers. Rather than tracking the element type ID of pointers in
particular, track all type IDs that a type contains. This allows us
to recover the element type in more complex situations, e.g. when
we need to determine the pointer element type of a vector element
or function type parameter.

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




More information about the All-commits mailing list