[all-commits] [llvm/llvm-project] 95b018: [RISCV] Remove deleted AVL register defs from Live...

Luke Lau via All-commits all-commits at lists.llvm.org
Sun Jun 30 19:16:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 95b0187165e02fc838c184c7ea623359e0430155
      https://github.com/llvm/llvm-project/commit/95b0187165e02fc838c184c7ea623359e0430155
  Author: Luke Lau <luke at igalia.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInsertVSETVLI.cpp
    A llvm/test/CodeGen/RISCV/rvv/pr95865.ll

  Log Message:
  -----------
  [RISCV] Remove deleted AVL register defs from LiveInterval instr maps (#97011)

When coalescing vsetvlis we might remove a use of a register AVL, which
in turn might leave the AVL def dead. When it's dead (currently limited
to just ADDIs) we delete the def, but we were forgetting to remove it
from LiveInterval's instruction map. This fixes #95865



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