[PHIElimination] Update LiveVariables after handling an unspillable terminator
authorJay Foad <jay.foad@amd.com>
Fri, 1 Oct 2021 14:39:38 +0000 (15:39 +0100)
committerJay Foad <jay.foad@amd.com>
Tue, 5 Oct 2021 13:25:53 +0000 (14:25 +0100)
commitf65458df32f72d6c2cb0cdf42544576290e5d8c6
treeda355fd20c3ba3196852e3379ce84d5be84a0897
parenta0ed71ff293b4ca4895fa5d184a008d048ea6fb1
[PHIElimination] Update LiveVariables after handling an unspillable terminator

Update the LiveVariables analysis after the special handling for
unspillable terminators which was added in D91358. This is just enough
to fix some "Block should not be in AliveBlocks" / "Block missing from
AliveBlocks" errors in the codegen test suite when machine verification
is forced to run after PHIElimination (currently it is disabled).

Differential Revision: https://reviews.llvm.org/D110939
llvm/lib/CodeGen/PHIElimination.cpp