[all-commits] [llvm/llvm-project] 99d364: [MachineVerifier] Fix crash on early clobbered sub...

Daniil Fukalov via All-commits all-commits at lists.llvm.org
Mon Sep 5 07:08:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99d364d1f430f9727eb5d5e71889790f2dcab3e6
      https://github.com/llvm/llvm-project/commit/99d364d1f430f9727eb5d5e71889790f2dcab3e6
  Author: Daniil Fukalov <1671137+dfukalov at users.noreply.github.com>
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
    M llvm/lib/CodeGen/MachineVerifier.cpp
    A llvm/test/MachineVerifier/verifier-ec-subreg-liveness.mir

  Log Message:
  -----------
  [MachineVerifier] Fix crash on early clobbered subreg operands.

MachineVerifier tried to checkLivenessAtDef() ignoring it is actually a subreg.

The issue was with processing two subregs of the same reg are used in the same
instruction (e.g. inline asm): "def early-clobber" and other just "def".

Reviewed By: foad

Differential Revision: https://reviews.llvm.org/D126661




More information about the All-commits mailing list