[all-commits] [llvm/llvm-project] b1295d: RegisterCoalescer: Handle implicit-def of a super ...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Oct 2 03:11:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1295dd5c923c6828775406b4063de1531fd4782
      https://github.com/llvm/llvm-project/commit/b1295dd5c923c6828775406b4063de1531fd4782
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2023-10-02 (Mon, 02 Oct 2023)

  Changed paths:
    M llvm/lib/CodeGen/RegisterCoalescer.cpp
    M llvm/test/CodeGen/X86/rematerialize-sub-super-reg.mir

  Log Message:
  -----------
  RegisterCoalescer: Handle implicit-def of a super register when rematerializing

Permit an implicit-def of a virtual register when rematerializing if
it defines a super register of a subregister def. The
rematerialization pre-legality check should really have been checking
the implicit operands, but that should be fixed separately.

https://reviews.llvm.org/D156331




More information about the All-commits mailing list