[all-commits] [llvm/llvm-project] 391d94: [RegisterCoalescer] Clear instructions not recorde...

Quentin Dian via All-commits all-commits at lists.llvm.org
Fri Feb 9 13:30:32 PST 2024


  Branch: refs/heads/release/18.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 391d948748ffae0b79305773ed9b50e86bd29215
      https://github.com/llvm/llvm-project/commit/391d948748ffae0b79305773ed9b50e86bd29215
  Author: Quentin Dian <dianqk at dianqk.net>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    A llvm/test/CodeGen/LoongArch/register-coalescer-crash-pr79718.mir
    A llvm/test/CodeGen/X86/PR71178-register-coalescer-crash.ll

  Log Message:
  -----------
  [RegisterCoalescer] Clear instructions not recorded in `ErasedInstrs` but erased (#79820)

Fixes #79718. Fixes #71178.

The same instructions may exist in an iteration. We cannot immediately
delete instructions in `ErasedInstrs`.

(cherry picked from commit 95b14da678f4670283240ef4cf60f3a39bed97b4)




More information about the All-commits mailing list