forked from NUDT-compiler/nudt-compiler-cpp
Split color selection in ColorGraph's Select phase to explicitly distinguish caller-saved (c<19) and callee-saved (c>=19) registers, preferring caller-saved colors. Behavior is equivalent to the previous implementation since GP_ALLOCATABLE already lists caller-saved registers first, but the new logic is more explicit and provides an extension point for future callee-save optimization.master
parent
e3e01256cd
commit
4d95f33dc2
Loading…
Reference in new issue