[AMDGPU] Fix a case of updating LiveIntervals in SIOptimizeExecMaskingPreRA
authorJay Foad <jay.foad@amd.com>
Thu, 6 Apr 2023 16:26:05 +0000 (17:26 +0100)
committerJay Foad <jay.foad@amd.com>
Sat, 8 Apr 2023 07:39:21 +0000 (08:39 +0100)
commit985e24cc16ecc35540ecff0efd23bf0abc328f66
tree2927815acca3baf037f4809107db2445b2413a30
parent09fecbbf5409e321f5e45b8120c26b12b8b742e6
[AMDGPU] Fix a case of updating LiveIntervals in SIOptimizeExecMaskingPreRA

This was causing two test failures when I applied D129208 to enable
extra verification of LiveIntervals:

  LLVM :: CodeGen/AMDGPU/optimize-negated-cond-exec-masking-wave32.mir
  LLVM :: CodeGen/AMDGPU/optimize-negated-cond-exec-masking.mir

Differential Revision: https://reviews.llvm.org/D147721
llvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp