================
@@ -0,0 +1,33 @@
+! -fkeep-inline-functions must only record alwaysinline definitions that
+! belong to this translation unit. A builtin bitcode library brought in via
+! -mlink-builtin-bitcode can itself contain an alwaysinline function (for
+! its own, unrelated reasons); that function was never named by a
+! !DIR$ INLINEALWAYS in this file and must not be added to llvm.used /
+! llvm.compiler.used because of this flag. This requires the check to run
+! before the builtin bitcode library is linked into the module.
+
+! RUN: %flang -emit-llvm -c -o %t.bc %S/keep-inline-lib.f90
----------------
shivaramaarao wrote:

Thanks. addressed these comments.

https://github.com/llvm/llvm-project/pull/230007
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to