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

Daniel Kiss via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 22 01:22:40 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
----------------
DanielKristofKiss wrote:

I added the test here because I'd use `ld.lld` as it invokes the IRMover differently than `llvm-lto`.
and under ` llvm/test/ThinLTO` `ld.lld` is not available.
llvm-lto merges modules to an empty module, while ld.lld merges modules into the first module.

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


More information about the llvm-commits mailing list