[all-commits] [llvm/llvm-project] 7047d7: [TwoAddressInstructionPass] Relax assert in statep...

dantrushin via All-commits all-commits at lists.llvm.org
Wed Jun 1 07:36:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7047d79fde88ed5f189101186f1267513a146eb9
      https://github.com/llvm/llvm-project/commit/7047d79fde88ed5f189101186f1267513a146eb9
  Author: Denis Antrushin <dantrushin at gmail.com>
  Date:   2022-06-01 (Wed, 01 Jun 2022)

  Changed paths:
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp
    M llvm/test/CodeGen/X86/statepoint-vreg-twoaddr.mir

  Log Message:
  -----------
  [TwoAddressInstructionPass] Relax assert in statepoint processing.

D124631 added special processing for STATEPOINT instructions.
It appears that assertion added there is too strong. We can get two
tied operands with the same register tied to different defs. If we
hit such case, do not process it in statepoint-specific code and
delegate it to common case.




More information about the All-commits mailing list