[PATCH] D119339: [Bitcode] Improve support for opaque-pointer bitcode upgrade
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 9 07:07:07 PST 2022
nikic created this revision.
nikic added a reviewer: opaque-pointers.
Herald added a subscriber: hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Depends on D118694 <https://reviews.llvm.org/D118694>.
https://reviews.llvm.org/D119339
Files:
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/test/Bitcode/DIExpression-aggresult.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D119339.407154.patch
Type: text/x-patch
Size: 7715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220209/908107b6/attachment.bin>
More information about the llvm-commits
mailing list