[clang] [Clang] Drop functions with incompatible target-features when using mlink-builtin-bitcode (PR #65737)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 11 13:11:17 PDT 2023


================
@@ -375,6 +375,11 @@ class ReturnValueSlot {
   bool isExternallyDestructed() const { return IsExternallyDestructed; }
 };
 
+/// If \p F "target-features" are incompatible with the \p TargetOpts features,
----------------
arsenm wrote:

I think this comment needs more elaboration on what this means and what this is for.

Should think about dropping the incompatible functions pass after this too

https://github.com/llvm/llvm-project/pull/65737


More information about the cfe-commits mailing list