[all-commits] [llvm/llvm-project] 7f7f24: [AArch64PostCoalescer] Propagate undef flag after ...

XiaShark via All-commits all-commits at lists.llvm.org
Wed Oct 15 02:16:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f7f24944ad854139981051d1138940195a1cd73
      https://github.com/llvm/llvm-project/commit/7f7f24944ad854139981051d1138940195a1cd73
  Author: XiaShark <xiajingze1 at huawei.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
    M llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
    M llvm/lib/Target/AArch64/AArch64PostCoalescerPass.cpp
    A llvm/test/CodeGen/AArch64/aarch64-post-coalescer.mir
    A llvm/test/CodeGen/AArch64/mir-yaml-has-streaming-mode-changes.ll

  Log Message:
  -----------
  [AArch64PostCoalescer] Propagate undef flag after replacing (#163119)

I encountered a compilation crash issue, and after analysis, it was
caused by the AArch64PostCoalescerPass, see https://godbolt.org/z/vPeqeo5Pa.
When replacing the register, if the source register has undef flag, we
should propagate the flag to all uses of the destination register.



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