[all-commits] [llvm/llvm-project] 74c00d: LiveRangeEdit: Clear all dead flags when remateria...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Dec 4 19:40:28 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74c00d432944ca4ada5f105b0d396b55f2692f05
      https://github.com/llvm/llvm-project/commit/74c00d432944ca4ada5f105b0d396b55f2692f05
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-12-05 (Tue, 05 Dec 2023)

  Changed paths:
    M llvm/lib/CodeGen/LiveRangeEdit.cpp
    A llvm/test/CodeGen/AArch64/clear-dead-implicit-def-impdef.ll
    A llvm/test/CodeGen/AArch64/clear-dead-implicit-def-impdef.mir

  Log Message:
  -----------
  LiveRangeEdit: Clear all dead flags when rematerializing (#73933)

It's allowed to rematerialize instructions with implicit-defs of the
same register as the single explicit def. If this happened, it was only
clearing the dead flags on the one main result.




More information about the All-commits mailing list