[PATCH] D127728: [BitcodeReader] Allow reading pointer types from old IR

Chris Bieneman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 07:11:31 PDT 2022


beanz added a comment.

This approach seems reasonable to me, but I'm curious about a meta question here.

DXIL and SPIR-V (and I'm sure other targets as well), require some degree of support for typed pointers.

Might a more general annotation in the IR make sense, then the bitcode reader could annotate the module with type information which would persist after the module is created.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127728/new/

https://reviews.llvm.org/D127728



More information about the llvm-commits mailing list