[PATCH] D152391: [Clang] Allow bitcode linking when the input is LLVM-IR
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 13 09:19:57 PDT 2023
yaxunl added inline comments.
================
Comment at: clang/lib/CodeGen/CGCall.cpp:2105-2106
+ llvm::AttrBuilder FuncAttrs(F.getContext());
+ GetCPUAndFeaturesAttributes(GlobalDecl(), FuncAttrs,
+ /*AddTargetFeatures=*/false);
+
----------------
should this be removed? seems redundant
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