[all-commits] [llvm/llvm-project] 33f78d: [TwoAddressInstruction] Fix stale LiveVariables in...

Jay Foad via All-commits all-commits at lists.llvm.org
Fri Oct 21 07:00:39 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 33f78d0903eb1f7b2a7517218725caee1adfb4a3
      https://github.com/llvm/llvm-project/commit/33f78d0903eb1f7b2a7517218725caee1adfb4a3
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-10-21 (Fri, 21 Oct 2022)

  Changed paths:
    M llvm/lib/CodeGen/TwoAddressInstructionPass.cpp

  Log Message:
  -----------
  [TwoAddressInstruction] Fix stale LiveVariables info in processStatepoint

D129213 improves verification of LiveVariables, and caused
CodeGen/X86/statepoint-cmp-sunk-past-statepoint.ll to fail with:
*** Bad machine code: LiveVariables: Block should not be in AliveBlocks ***
after Two-Address instruction pass.

Fix it by clearing AliveBlocks for a register which is no longer used.

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




More information about the All-commits mailing list