You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[AMDGPU] Fix Hot Block Register Renaming assertions on complex IR
Fix two assertions discovered during CI/CT testing with rocBLAS kernels:
1. isVirtRegMovable() crashed on PHI nodes with multiple value definitions.
Converted assertions to early-return checks, allowing the pass to skip
unmovable registers instead of crashing on legitimate IR patterns.
2. tryMoveValue() assumed LiveIntervalUnion contains only virtual registers,
but it can contain physical registers after allocation. Added isVirtual()
check before calling VirtRegMap::getPhys() to prevent assertion failures.
Both fixes improve robustness without affecting correctness or performance.
0 commit comments