[PATCH] D152391: [Clang] Allow bitcode linking when the input is LLVM-IR
Joseph Huber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 7 15:37:48 PDT 2023
jhuber6 added a comment.
Just realized this is probably going to be a bit more painful. the attribute propagation pass requires a `CodeGenModule` which isn't built without an `ASTContext` so it's not available here. Nothing those functions do explicitly requires the full `CGM`, they only use the options and the target info. So it's possible to make these functions more generic using only the `CompilerInstance` instead, but it'll be a lot nosier.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152391/new/
https://reviews.llvm.org/D152391
More information about the cfe-commits
mailing list