[all-commits] [llvm/llvm-project] 3d0752: [GlobalOpt] Don't replace aliasee with alias that ...

DianQK via All-commits all-commits at lists.llvm.org
Fri May 17 13:51:38 PDT 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d0752b9492efd60e85aedec79676596af6fb4f8
      https://github.com/llvm/llvm-project/commit/3d0752b9492efd60e85aedec79676596af6fb4f8
  Author: DianQK <dianqk at dianqk.net>
  Date:   2024-05-17 (Fri, 17 May 2024)

  Changed paths:
    M llvm/lib/Transforms/IPO/GlobalOpt.cpp
    A llvm/test/Transforms/GlobalOpt/alias-weak.ll

  Log Message:
  -----------
  [GlobalOpt] Don't replace aliasee with alias that has weak linkage (#91483)

Fixes #91312.

Don't perform the transform if the alias may be replaced at link time.

(cherry picked from commit c79690040acf5bb3d857558b0878db47f7f23dc3)



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