[llvm] [AMDGPU] Fix s_singleuse_vdst not detecing exec mask changes (PR #89401)
Scott Egerton via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 22 05:25:19 PDT 2024
================
@@ -112,7 +112,7 @@ class AMDGPUInsertSingleUseVDST : public MachineFunctionPass {
// Reset uses count when a register is no longer live.
for (const MCRegUnit &Unit : RegUnits)
- RegisterUseCount.erase(Unit);
+ RegisterUseCount[Unit] = 0;
----------------
ScottEgerton wrote:
Okay, I do have a downstream patch for that. I'll post that first.
https://github.com/llvm/llvm-project/pull/89401
More information about the llvm-commits
mailing list