[all-commits] [llvm/llvm-project] ded5de: [llvm][AArch64] Autoupgrade function attributes fr...

Dani via All-commits all-commits at lists.llvm.org
Mon Mar 4 02:13:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ded5de11faca916e0434df2e43653559d564c2df
      https://github.com/llvm/llvm-project/commit/ded5de11faca916e0434df2e43653559d564c2df
  Author: Dani <daniel.kiss at arm.com>
  Date:   2024-03-04 (Mon, 04 Mar 2024)

  Changed paths:
    M llvm/include/llvm/IR/AutoUpgrade.h
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/Linker/IRMover.cpp
    M llvm/test/LTO/AArch64/link-branch-target-enforcement.ll
    A llvm/test/LTO/AArch64/link-sign-return-address.ll
    M llvm/test/Linker/link-arm-and-thumb.ll

  Log Message:
  -----------
  [llvm][AArch64] Autoupgrade function attributes from Module attributes. (#82763)

sign-return-address and similar module attributes should be propagated to
the function level before got merged because module flags may contradict and
this information is not recoverable.
Generated code will match with the normal linking flow.

Refactored version of  (#80640).
Run the attribute copy only during IRMove.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list