[LLVMbugs] [Bug 1424] infinite recursion in scavengeregister

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu May 31 14:29:00 PDT 2007


http://llvm.org/bugs/show_bug.cgi?id=1424

evan.cheng at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From evan.cheng at apple.com  2007-05-31 16:28 -------
This is the wrong fix. It's sweeping the bug under the rug.

Even if disabling the use of RS when FP is used is correct (when I am not convinced of), that's up to the 
target to not instantiate RS when it detects that. PEI shouldn't do this check. Please revert the patch.

I've not have a chance to look into this. Please explain, in this case, why is ScavengingFrameIndex not 
within the displacement limit? If there is a bug in the ARMRegisterInfo.cpp code that causes the 
miscalculation, then please fix it.

If we ever run into situation where it's not possible to reserve a legal frame index, then we need a 
proper solution. Can we detect that before register allocation? If so, we need to detect that and reserve 
R12 and make sure RS isn't instantiated.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list