[lld] [llvm] [LLVM] Refactor Autoupgrade function attributes from Module attributes. (PR #84494)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 07:39:00 PDT 2024


================
@@ -0,0 +1,51 @@
+; REQUIRES: aarch64
+;; Test verifies inlining happens cross module when module flags are upgraded
+;; by the thin-lto linker/IRMover.
+;; Regression test for #82763
+
+; RUN: split-file %s %t
----------------
teresajohnson wrote:

Drive by comment: To mimic the ThinLTO behavior of lld use llvm-lto2 not llvm-lto - the former uses the same LTO API (linker resolution-based) whereas the latter uses the legacy one.

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


More information about the llvm-commits mailing list