mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-06-24 02:14:17 +00:00
bug fix
This commit is contained in:
parent
923e5158e7
commit
0f2fd824e6
1 changed files with 2 additions and 2 deletions
|
|
@ -436,8 +436,8 @@ class RDNARegAlloc:
|
|||
self._last_use[uop] = pos
|
||||
|
||||
def get_last_use(self, uop: UOp) -> int:
|
||||
"""Get last use position for a UOp."""
|
||||
return self._last_use.get(uop, -1)
|
||||
"""Get effective death position for a UOp (considering alias groups)."""
|
||||
return self._get_death_pos(uop)
|
||||
|
||||
def is_vgpr_owner(self, reg: int) -> bool:
|
||||
"""Check if register has an owner."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue