"Balaji V. Iyer" <[EMAIL PROTECTED]> writes: > I saw that regclass() function determines which class of register > the registers in the current units should be assigned to. The question I > have is: Will this decision change in any other parts of the compiler? > or is this this the final place where they fix the register class? So, > if I add my own priority-based register-class assigner, can I just > replace this function and add my own?
regclass sets preferences. Those preferences will not change later. The register allocator will honor those preferences if possible. However, it is not required to honor them. It is only required to honor the constraints in the MD file. Ian