[all-commits] [llvm/llvm-project] a2bdbc: [LLD][COFF] Check machine types in ICF::equalsCons...

Jacek Caban via All-commits all-commits at lists.llvm.org
Wed Apr 10 05:37:39 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a2bdbc6f0da2a9d0cecb23c64bd20423b3fd0340
      https://github.com/llvm/llvm-project/commit/a2bdbc6f0da2a9d0cecb23c64bd20423b3fd0340
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2024-04-10 (Wed, 10 Apr 2024)

  Changed paths:
    M lld/COFF/ICF.cpp
    A lld/test/COFF/arm64x-icf.s

  Log Message:
  -----------
  [LLD][COFF] Check machine types in ICF::equalsConstant. (#88140)

Avoid replacing replacing a chunk with one from a different type. It's
mostly a concern for ARM64X, where we don't want to merge aarch64 and
arm64ec chunks, but it may also in theory happen between arm64ec and
 x86_64 chunks.



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