[all-commits] [llvm/llvm-project] 9131a0: Linker: Avoid scheduling the link of a global valu...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Apr 28 13:22:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9131a078901b00e68248a27a4f8c4b11bb1db1ae
      https://github.com/llvm/llvm-project/commit/9131a078901b00e68248a27a4f8c4b11bb1db1ae
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2021-04-28 (Wed, 28 Apr 2021)

  Changed paths:
    M llvm/lib/Linker/IRMover.cpp
    A llvm/test/Linker/alias-4.ll

  Log Message:
  -----------
  Linker: Avoid scheduling the link of a global value twice due to an alias

3d4f3a0da90bd1a3 (https://reviews.llvm.org/D20586) avoided rescheduling
a global value that was materialized first through a regular value, and
then again through an alias. This commit catches the dual, avoiding
rescheduling when the global value is first materialized through an
alias.

Differential Revision: https://reviews.llvm.org/D101419
Radar-Id: rdar://75752728




More information about the All-commits mailing list