RegisterAllocationPass: Amend type cast in DecodeSRANode()

Uses the proper type for StoreRegister. Same behavior though, due to
layout.
This commit is contained in:
LC committed 2026-07-11 16:39:35 -04:00
1 parent fb4d8a6d14
commit 995e2657bb
1 file changed
+1 -1
@@ -176,7 +176,7 @@ private:
if (IROp->Op == OP_LOADREGISTER || IROp->Op == OP_LOADPF || IROp->Op == OP_LOADAF) {
return Node;
} else if (IROp->Op == OP_STOREREGISTER) {
auto V = IROp->C<IR::IROp_StorePF>()->Value;
auto V = IROp->C<IR::IROp_StoreRegister>()->Value;
V.ClearKill();
return IR->GetNode(V);
} else if (IROp->Op == OP_STOREPF || IROp->Op == OP_STOREAF) {